With ` response content encoding `

With ?response-content-encoding=
~ file test.gz
test.gz: gzip compressed data, from Unix, original size modulo 2^32 1684
~ gunzip test.gz
test already exists -- do you wish to overwrite (y or n)? y
~ file test
test: gzip compressed data, original size modulo 2^32 9218
~ file test.gz
test.gz: gzip compressed data, from Unix, original size modulo 2^32 1684
~ gunzip test.gz
test already exists -- do you wish to overwrite (y or n)? y
~ file test
test: gzip compressed data, original size modulo 2^32 9218
Without
~ file test.gz
test.gz: gzip compressed data, original size modulo 2^32 9218
~ gunzip test.gz
test already exists -- do you wish to overwrite (y or n)? y
~ file test
test: JSON data
~ file test.gz
test.gz: gzip compressed data, original size modulo 2^32 9218
~ gunzip test.gz
test already exists -- do you wish to overwrite (y or n)? y
~ file test
test: JSON data
6 Replies
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
kian
kian17mo ago
kian
kian17mo ago
It's set to gzip with application/json Looking at the dashboard's code itself, it seems intentionally blank
decodeURIComponent(v), v = encodeURI(v), v = "/api/v4" + v + "?response-content-encoding=", s.jurisdiction && (v += "&jurisdiction=".concat(s.jurisdiction))
decodeURIComponent(v), v = encodeURI(v), v = "/api/v4" + v + "?response-content-encoding=", s.jurisdiction && (v += "&jurisdiction=".concat(s.jurisdiction))
I assume it's told that it isn't GZIP (due to ?response-content-encoding=) so the 'usual' on-the-fly compression for application/json takes place (https://developers.cloudflare.com/support/speed/optimization-file-size/what-will-cloudflare-compress/) and you end up with a double compressed file An example file would be http/20220609/20220609T005418Z_20220609T005548Z_693bb5a3.log.gz in the logpush bucket on the account 134a5a2c0ba47b38eada4b9c8ead10b6
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
kian
kian17mo ago
Is it saved as txt.gz or just .txt? meowthinking
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server