arturobernalg commented on code in PR #867:
URL:
https://github.com/apache/httpcomponents-client/pull/867#discussion_r3792430743
##########
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/CachingExecBase.java:
##########
@@ -131,6 +130,41 @@ SimpleHttpResponse generateGatewayTimeout() {
return SimpleHttpResponse.create(HttpStatus.SC_GATEWAY_TIMEOUT,
"Gateway Timeout");
}
+ /**
+ * Internal context attribute holding the per-exchange {@link CacheStatus}
used to render the
+ * RFC 9211 {@code Cache-Status} header.
+ */
+ static final String CACHE_STATUS_ATTR = "http.cache.status";
Review Comment:
@ok2c Good point — done.
--
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]