Filip Hanik - Dev Lists wrote:
> 
> you're wrong, I believe it is
> 
> chunk-header:blabla<CRLF>
> chunk-data<CRLF>
> 
> The spec says
> 
>        chunk          = chunk-size [ chunk-extension ] CRLF
>                         chunk-data CRLF
> 
> 
> Hence, the request that was posted here, should have been 16bytes
> header, not 18

Whoops - you are correct. Somehow I overlooked that second "CRLF" when
I checked 3.1.6. I should have checked an implementation and not just
the spec...

(The CRLF after chunk-data exists mostly to make any optional trailers
easier to read, presumably.)

So yes, the chunk-size in the posted request was wrong.

-- 
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to