Hi all, Can IIS 7.5 bypass the POST method "Must required Content-Length" 411-ERROR issue? I don't want to change coding in J2ME (Client), due to huge of end user. Previously I am using Apache 2, it accept POST method without Content-Length. But when I try
to use IIS 7.5, it must be required Content-Length. Hope someone can help me to solve this problem. Thank.
Hello, The above link was not applicable in our scenario when we send the Transfe-Encoding: chunked requests. Even i am facing the same issue though i am passing the Transfer-Coding or the Content-Transfer-encoding headers. As i want my application to upload/download
files greater then 2gb i cannot use the Content-Length header. I am using IIS 7.5 and i have enabled the chunking mode. I have done lot of a search in google regarding the same issue and did not find any valuable information. When i send the request header
as Transfer-Coding: chunked or content-transfer-encoding: chunked, i get the response as 411 Content length required and when i give the header Transfer-Encoding: chunked i get the response back as 400 bad request. Please assist.
mikeiso
2 Posts
Unable to POST with missing "Content-Length" header (for "Transfer-Encoding: chunked" requests)
Nov 03, 2011 01:30 AM|LINK
London
345 Posts
Re: Unable to POST with missing "Content-Length" header (for "Transfer-Encoding: chunked" request...
Nov 07, 2011 08:32 AM|LINK
Hi,
It seems it can't be done, see this thread:
http://forums.iis.net/t/1119456.aspx
mikeiso
2 Posts
Re: Unable to POST with missing "Content-Length" header (for "Transfer-Encoding: chunked" request...
Nov 08, 2011 03:29 PM|LINK
snehasweety2...
2 Posts
Re: Unable to POST with missing "Content-Length" header (for "Transfer-Encoding: chunked" request...
May 29, 2012 05:35 AM|LINK