Dear driver experts,
i experienced problems with PUT operations with chunked
encodings. The existing code seems to rely on provided
content-lengths for client requests with content, which is
not available form e.g. PUT operations with chunked
encoding (e.g. issued from Finder under Mac OS X).
I would like to read such requests (which come with
"connection: close") until eof, but found no easy way for
do so.
With the original code, the content length for such requests
was always 0.
The current solution works, but returns the chunked markup
(which is fine for me, doing the chunked-decode in Tcl),
but should done in (similar to the chunked encoding for forms).
Actually, there must be a better way for this than the following
change: http://bitbucket.org/naviserver/naviserver/changeset/a1ccb0371eee/
all the best
-gustaf neumann
PS: i had to do a "hg push -f ...". Not sure, if this is intentional.
Do the commits to tip look right?
|