sungwy commented on code in PR #17979:
URL: https://github.com/apache/iceberg/pull/17979#discussion_r3980285314
##########
core/src/main/java/org/apache/iceberg/rest/HTTPClient.java:
##########
@@ -337,7 +337,9 @@ private <T extends RESTResponse> T handleResponse(
Consumer<Map<String, String>> responseHeaders,
ParserContext parserContext)
throws IOException {
- Map<String, String> respHeaders = Maps.newHashMap();
+ // Field names are case-insensitive (RFC 9110), and HTTP/2 requires them
to be lowercase, so
+ // callers cannot rely on a server's chosen spelling to look a header up.
Review Comment:
@moomindani - what do you think about this feedback on the documentation?
--
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]