Arturo Bernal created HTTPCLIENT-2279:
-----------------------------------------

             Summary: Improve Handling of HTTP Conditional Requests, Status 
Codes and Weak ETags
                 Key: HTTPCLIENT-2279
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2279
             Project: HttpComponents HttpClient
          Issue Type: Improvement
            Reporter: Arturo Bernal


Our system currently does not fully support the handling of HTTP conditional 
requests and the appropriate status codes as outlined in the HTTP/1.1 
specification RFC 9110. There are three main issues to be addressed:
 * 
Lack of support for the HTTP 412 (Precondition Failed) status code, which 
indicates that one or more conditions given in the request header fields 
evaluated to false when tested on the server.
 * Our system may not check all header fields marked as If-Match or 
If-None-Match. According to the specification, all instances of these headers 
should be considered.
 * The system might not properly handle cases where a weak ETag is used with a 
range request.


By addressing these issues, we can improve the robustness of our system and its 
compliance with the HTTP specification. This will ensure correct and consistent 
behavior, particularly when dealing with conditional requests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to