You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2025/01/08 15:35:00 UTC

[jira] [Resolved] (HDDS-12028) HTTP header matching should be case insensitive

     [ https://issues.apache.org/jira/browse/HDDS-12028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai resolved HDDS-12028.
-------------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> HTTP header matching should be case insensitive
> -----------------------------------------------
>
>                 Key: HDDS-12028
>                 URL: https://issues.apache.org/jira/browse/HDDS-12028
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Rishabh Patel
>            Assignee: Rishabh Patel
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> Some regex comparisons for HTTP headers in the robot tests are not case-insensitive. 
>  
> As per [https://httpwg.org/specs/rfc7540.html#rfc.section.8.1.2]
> ??Just as in HTTP/1.x, header field names are strings of ASCII characters that are compared in a case-insensitive fashion. However, header field names MUST be converted to lowercase prior to their encoding in HTTP/2. *A request or response containing uppercase header field names MUST be treated as malformed*??
>  
> When using HA Proxy, the returned headers are in lowercase
> See discussion in https://discourse.haproxy.org/t/preserve-header-capitalisation/7511
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org