[Mono-bugs] [Bug 542960] New: GetFile.aspx / Download.aspx needs to work properly with wget / curl
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Sep 29 15:38:50 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=542960
Summary: GetFile.aspx / Download.aspx needs to work properly
with wget / curl
Classification: Mono
Product: Mono: Tools
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: MonkeyWrench
AssignedTo: rkvinge at novell.com
ReportedBy: ajorgensen at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
There are a couple of problems that have to be resolved here:
Content-Disposition: only works properly if you actually specify the
disposition (inline or attachment). We need to discern between log files and
other files to do this right because we will not want to download a log file
just to look at it but we do want a tarball to download instead of being
displayed as garbage in-browser.
Content-Length: sending the right content length lets the UA display a progress
bar and helps the user have confidence that the download was complete.
Accept-Encoding: if the UA does not send "Accept-Encoding: gzip" then we must
decompress the stream for it. It's pretty lame that curl doesn't handle this
but so it is. Note that the Content-Length will be the compressed or
uncompressed length depending on which we are sending.
As build.mono-project.com gains visibility these problems will become more
obvious to users. For instance a packager is likely to try to use curl or wget
to download a tarball and may find that it is mysteriously double-gzipped.
A nice URL scheme with invisible redirects would be even more ideal, of course
(something like download/[lane]/[revision]/[filename]) but the above problems
would need to be solved for that case as well.
--
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