You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/05/07 15:05:10 UTC

[Bug 60698] getContentLength returns -1 for requests without body

https://bz.apache.org/bugzilla/show_bug.cgi?id=60698

--- Comment #4 from Bilguun Bayarmagnai <be...@gmail.com> ---
I'm facing exact same issue here with DELETE & PATCH requests. But
investigating further, it seems like a browser issue, which is setting
Content-Length: 0 on POST & PUT requests. However not on DELETE & PATCH
requests which is resulting in -1, and 411 error(when using tomcat as a proxy)
on the down path.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org