Hi Michael,

Am 14.11.2013 um 23:49 schrieb Michel Rod <mrodtel...@gmail.com>:
> Could anybody shed some light:
> 
> If I do:
> wget "http://www.prismcasino.com/wp-includes/js/jquery/jquery.js";
> The file contents goes as expected a bunch of jquery code.
> 
> If i do:
> wget "http://www.prismcasino.com/wp-includes/js/jquery/jquery.js?ver=1.10.2";
> The file contents is completely corrupted looks like binary?
> 
> The ?ver shouldnt change the content of a flat file.
> 
> I tried downloading it by forcing utf-8 but my wget says "does not have 
> support for IRIs".. iam not sure this has anything to do with it.
> 
> Why such behaviour?

Try adding "-S" (show headers). This will give you
    Content-Encoding: gzip

Just gunzip the contents and you get javascript again.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to