httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] CGI based WebDAV client and Transfer-Encoding: Chunked issue
Date Mon, 08 Dec 2008 21:34:45 GMT
Paul wrote:
[...]
Hi.
I do not know the answer to your original question, but here are a 
couple of alternative suggestions :

1) It may be possible, in the initial HTTP headers sent by the script to 
the client, to let the client know that the "chunked" encoding is not 
acceptable.  The client may then decide on another way to send the data, 
which might be easier to handle by the script.
Details are left as a further exercise..
(Accept-Encoding header etc..)

2) as an alternative, have you considered using the real mod_dav module, 
but with a twist : implement a filter before, and a filter after, that 
will get the file as soon as it has been uploaded to the server, and 
move it to some location of your choice.
This in a way similar to what mod_cache does.
The reason for using mod_dav ("Dav on" etc..), is that it probably 
already handles the dialog with the client very well, is maintained, 
tested, etc..
Again, details left for a further exercise.

But, in the case of 2, I can add that I have done something similar to 
that, using perl and mod_perl, and it works quite well.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message