jira-importer opened a new issue, #1139:
URL: https://github.com/apache/httpcomponents-core/issues/1139

   **[Michael 
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)**
 opened 
**[HTTPCORE-626](https://issues.apache.org/jira/browse/HTTPCORE-626?redirect=false)**
 and commented
   
   Based on the discussion in 
[this](https://www.mail-archive.com/[email protected]/msg09851.html)
 thread. The expect handling was been changed in a way that it turns out to be 
pointless. Roy Fielding commented that a server can close a connection on a 
non-2xx status and the client does not need to send the request body in this 
case.
   
   In the spirit of this, we shall close the connection immediately w/o sending 
the request body. It shall only be send if the server does not request to close 
the connection.
   The client can close the connection itself if a non-2xx status has been 
received and it wishes not to send the request body. Otherwise one must 
completely the request for the server connection to continue function properly.
   
   This likely only applies when a `Content-Length` header has been supplied.
   
   
   ---
   
   **Affects:** 5.0
   
   **Backported to:** 
[5.0.3](https://github.com/apache/httpcomponents-core/milestone/72?closed=1)
   
   1 votes, 4 watchers
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to