DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38214>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38214


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From [EMAIL PROTECTED]  2006-01-11 18:22 -------
(In reply to comment #0)
> Hi,
> 
> org.apache.commons.httpclient.HttpStatus.SC_REQUESTED_RANGE_NOT_SATISFIABLE
> appears to reference the http RANGE method.
> 
> We would like to offer resumable download/upload and HttpClient would a #1
> candidate to work on this. Apart from SC_REQUESTED_RANGE_NOT_SATISFIABLE, it
> doesn't appear to be implemented within httpClient.
> 

HttpClient is not a browser and is not meant to support resumable
download/upload. This functionality can be built on top of a generic HTTP
library such as Commons HttpClient 

> Do you have an idea how to best do this?
> Do you think this also works for upload, i.e. a "multipart/form-data" post?
> 

You can use Content-Range or a custom header similar to Content-Range or a
hidden fields in the "multipart/form-data" encoded body to pass the range of the
uploaded conent.

> I guess for upload, one would also have to extend
>     org.apache.commons.fileupload.disk.DiskFileItem.DiskFileItem(
> to know what its supposed full length is and to record where it stopped...
> 
> What do you think?
> 

As useful as this can be for some users this code should not be in HttpClient 
proper

Oleg

>    Ralf
> 
> P.S.: At least the tomcat counterpart appears to support it with
> org.apache.catalina.servlets.DefaultServlet.parseRange(HttpServletRequest
> request, HttpServletResponse response, ResourceAttributes resourceAttributes)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to