Hello,
I recently read that Apache's mod_dav supports PUTs with the Content-
Range header and I am interested in using it.
I am working on a non-gui client app that uses slide. I added a new
put method to slide (to WebdavResource.java, specifically) that adds
the Content-Range header. Basically, I copied one of the existing
put methods (the one that takes a path and file argument) and just
added the bit of code that adds the Content-Range header. It did not
work; webdav had the full file (not the chunk specified). I was
wondering if anyone else had tried this and if they had been
successful? Here are the headers from the test I used ....
request headers ...
[DEBUG] wire - ->> "PUT /blahDir/blah.aes HTTP/1.1[\r][\n]"
[DEBUG] wire - ->> "Content-Range: bytes 0-524288/2945360[\r][\n]"
[DEBUG] wire - ->> "Content-Type: httpd/unix-directory[\r][\n]"
[DEBUG] wire - ->> "User-Agent: Jakarta Commons-HttpClient/2.0final
[\r][\n]"
[DEBUG] wire - ->> "Host: blah.blah.com[\r][\n]"
[DEBUG] wire - ->> "Content-Length: 2945360[\r][\n]"
[DEBUG] wire - ->> "[\r][\n]"
response headers ...
[DEBUG] wire - -<< "HTTP/1.1 201 Created[\r][\n]"
[DEBUG] wire - -<< "Date: Thu, 24 Aug 2006 01:31:52 GMT[\r][\n]"
[DEBUG] wire - -<< "Server: Apache/1.3.33 (Darwin) PHP/5.1.2
mod_fastcgi/2.4.2 DAV/1.0.3 mod_ssl/2.8.24 OpenSSL/0.9.7i[\r][\n]"
[DEBUG] wire - -<< "Cache-Control: max-age=60[\r][\n]"
[DEBUG] wire - -<< "Expires: Thu, 24 Aug 2006 01:32:52 GMT[\r][\n]"
[DEBUG] wire - -<< "Connection: close[\r][\n]"
[DEBUG] wire - -<< "Transfer-Encoding: chunked[\r][\n]"
[DEBUG] wire - -<< "Content-Type: text/html[\r][\n]"
Any help would be appreciated.
Thanks,
Tiff
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]