Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

HTTP/1.1 400 Bad Request - POST -transfer encoding chunked

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
How to configure chunked tranfer encoding on IIS - Hi, I need to configure IIS to send me chunked responses How can i cofigure it in IIS. Thanks --Vinod

IIS problem with secure chunked transfer - Hi IIS gurus, My Java applet sends large POST requests to an IIS 5.0 ISAPI extension using chunked transfer. This works fine for secure servers (defined as Alas, when I define the IIS virtual dir as client In this..

how to disable Transfer-Coding: Chunked ? - hi, I found many tutorial on how to enable Chunked but none on how to disable it... any idea ? TIA, Pierre.

missing last chunck in Transfer-Coding: Chunked - hi, according to the paragraph 3.6.1 of RFC2616 a chunked body must contain a last chunk of size 0 this last chunk seems to be missing in the 200 answers I receive from my IIS6. who is of the chunks ? TIA, Pierre.

Compression, and disabling transfer-encoding of chunks - The quick version of my question: Is there a way I can prevent IIS 6 from doing chunked transfer encoding? I'm aware of the metabase property, and I've set it to FALSE at several places in the hierarchy in..
Next:  IIS: Running an exe file from ASP Page  
Author Message
user1763

External


Since: Jun 09, 2004
Posts: 1



(Msg. 1) Posted: Wed Jun 09, 2004 8:34 am
Post subject: HTTP/1.1 400 Bad Request - POST -transfer encoding chunked
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi all.
Have to upload a binary file from a C client to IIS with transfer
encoding set to CHUNKED .
So using POST request for the same. My test request is as follows
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sprintf(buff,"POST /cgi-bin/simple_cgi.exe HTTP/1.1\r\nHost:
localhost:80\r\nConnection: keep-alive\r\nTransfer-encoding:
chunked\r\n\r\n");
send(conn,buff,strlen(buff),0);

sprintf(buff,"400\r\n81111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111999\r\n");
send(conn,buff,strlen(buff),0);

sprintf(buff,"000\r\n\r\n");
send(conn,buff,strlen(buff),0);
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
But with IIS V 5.0 i'm getting an error - HTTP/1.1 400 Bad Request. and
the cgi is not invoked at all

This same request is working fine with two other webservers that i
tried namely Liteserv & Abyss.

Have referred to link
http://tinyurl.com/3fssy
and set the value for AspEnableChunkedEncoding to True but still....

Pls help me to get this working.
or pls point out any good internet resources which could help.

Thanks is anticipation guys,
Tejasv..



--
tejasvnahal
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message254613.html

 >> Stay informed about: HTTP/1.1 400 Bad Request - POST -transfer encoding chunked 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]