yandrey321 opened a new pull request, #11466: URL: https://github.com/apache/ozone/pull/11466
## What changes were proposed in this pull request? ProxyServer.ProxyHandler.onServerResponseHeaders (test-only, added in HDDS-16683) called AbstractProxyServlet.filterServerResponseHeader(HttpServletRequest, Response, String, String). Jetty 12.1.12 deprecated that method for removal. This switches to the replacement filterServerResponseHeader(HttpServletRequest, Response, HttpField) and skips the header when it returns null. The header value is still copied with HttpField.getValue(), not getValueList(), so the HDDS-16683 fix for quoted and whitespace-containing values such as Content-Disposition is kept. Generated-by: Claude Code (Claude Opus) ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16817 ## How was this patch tested? Built with -Dmaven.compiler.showDeprecation=true; the warning is gone. TestS3SDK and ProxyServerIntegrationTest pass (234 tests). -- 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]
