Re: CGI based WebDAV client and Transfer-Encoding: Chunked issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux