<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Error BAD REQUEST - HTTP POST' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Error BAD REQUEST - HTTP POST' posted on the 'IIS' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 18 May 2013 18:25:22 -0700</pubDate>
    <lastBuildDate>Sat, 18 May 2013 18:25:22 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Error BAD REQUEST - HTTP POST</title>
      <link>http://www.programmersheaven.com/mb/IIS/262855/262855/error-bad-request---http-post/</link>
      <description>Hi all,&lt;br /&gt;
pls help.&lt;br /&gt;
i'm sending the following request to webserver [Tried with all - (IIS, Xatami,  Abyss)]&lt;br /&gt;
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
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");&lt;br /&gt;
send(conn,buff,strlen(buff),0); &lt;br /&gt;
sprintf(buff,"05D\r\n81111111111111111111111111111
11111111111111111111111111111111111111111111111111
111111111111\r\n");&lt;br /&gt;
send(conn,buff,strlen(buff),0); &lt;br /&gt;
sprintf(buff,"000\r\n\r\n");&lt;br /&gt;
send(conn,buff,strlen(buff),0); &lt;br /&gt;
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
But getting BAD REQUEST ERROR - 400.&lt;br /&gt;
Have referred to link http://support.microsoft.com/default.aspx?scid=kb;en-us;278998&amp;amp;Product=iis50 and have tried a lot many combinations.&lt;br /&gt;
My question -&amp;gt; What is wrong. ? &lt;img src="http://www.programmersheaven.com/images/Community/frown.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
Rgds&lt;br /&gt;
Tejasv...&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/IIS/262855/262855/error-bad-request---http-post/</guid>
      <pubDate>Sat, 12 Jun 2004 06:16:19 -0700</pubDate>
      <category>IIS</category>
    </item>
  </channel>
</rss>