arturobernalg opened a new pull request, #456: URL: https://github.com/apache/httpcomponents-client/pull/456
This commit enhances the processing and calculation of the "Age" response header field to comply fully with Sections 5.1 and 4.2.3 of RFC9111. Changes include: - Parsing of the Age field value as a non-negative integer, representing time in seconds. - Handling of messages with list-based Age field values, using the first member and discarding subsequent ones. - Ignoring of invalid field values (e.g., containing something other than a non-negative integer). - The presence of an Age header field implies that the response was not generated or validated by the origin server for this request. - Improved/Fixing the age calculation algorithm considering the apparent age, response delay, corrected age value, and current age to align it with the standard. - -- 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: dev-unsubscr...@hc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org