bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Strangest result from downloading 1 file with wget.


From: Darshit Shah
Subject: Re: [Bug-wget] Strangest result from downloading 1 file with wget.
Date: Fri, 15 Nov 2013 14:22:18 +0530

This issue arises because the server seems to be sending the data in
plaintext normally, but uses Content-Encoding: gzip when the request
contains a parameter. Since wget does not currently support gzip
compression, this data looks like a bunch of gibberish.

The issue with IRI support is because your version of Wget was not compiled
with IRI support. You could just as easily recompile it with IRI's, but it
wouldn't help, since this is not a locale issue.


On Fri, Nov 15, 2013 at 4:19 AM, Michel Rod <address@hidden> wrote:

> Hello WGET community,
>
> 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?
>
>


-- 
Thanking You,
Darshit Shah


reply via email to

[Prev in Thread] Current Thread [Next in Thread]