[Mono-bugs] [Bug 542960] GetFile.aspx / Download.aspx needs to work properly with wget / curl

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 8 14:40:47 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=542960

http://bugzilla.novell.com/show_bug.cgi?id=542960#c2


--- Comment #2 from Andrew Jorgensen <ajorgensen at novell.com> 2010-06-08 18:40:45 UTC ---
Turns out I was wrong about curl and wget on a couple of points:

Content-Disposition: I'm technically right about my comments on this but it
turns out neither wget nor curl even reads the disposition.  wget has an option
to if you force it but it doesn't need to be told attachement to treat it as
such.

Content-Length: is getting set if it's known, so we're okay here now.

Accept-Encoding: I have a patch for this which I'll attach.  Unfortunately it
will break all the scripts that use curl | zcat, but that can be worked around
(and really should be anyway) but telling curl to send the Accept-Encoding
header.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list