This contradicts with the way ICS works. In ICS, you either read the data by setting FAcceptpostdata = true by setting the accept flag in TriggerPostDocument OR you simply send 401 directly without reading any of the data by setting the same flag!!!
Francois, what do you think? Regards, SZ ----- Original Message ----- From: "Tibor Csonka" <[EMAIL PROTECTED]> To: "ICS support mailing" <email@example.com> Sent: Wednesday, March 08, 2006 1:45 PM Subject: Re: [twsocket] HTTP POST answer code 401 >I think server should read all the request from the client (including > request data) before responding, even in case of 401 response. > Apache does the same. > > From client side, Internet Explorer also retransmits the whole POST > data with every request. > > Fastream Technologies wrote: >> Hello, >> >> I have a question that I am unsure about POST/require authentication. >> When a >> request arrives at a HTTP server, unless it already contains valid auth >> data, a 401 response is returned. This is very easy with GET and HEAD as >> the >> request contains data no more than the header. However with POST, the >> actual >> form data which can be more than MBs is uploaded immediately by the >> client >> without waiting for a response (unlike FTP). So my problem is: >> >> - consider a POST request with no auth data and of 1MB size >> - folder is password protected by digest auth >> - at TriggerPOSTdocument, the server decides 401 >> - however even after the 401 is sent, data keeps coming from the client >> - the next keep-alive request is bad (garbage!!!) >> >> Any idea? >> >> Best Regards, >> >> SubZero >> >> > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be