F64116045 commented on PR #11088:
URL: https://github.com/apache/ozone/pull/11088#issuecomment-5380786019

   The behavior before this change was:
   
       Content-Type: ""
           → EmptyContentTypeFilter removes the header
           → SignedHeaders still contains content-type
           → StringToSignProducer cannot find the signed header
           → InvalidRequest
   
   After this change:
   
       Content-Type: ""
           → EmptyContentTypeFilter preserves it as
             X-Ozone-Original-Content-Type: ""
           → AWSSignatureProcessor restores Content-Type: ""
             in the signature header map
           → StringToSignProducer produces content-type:
           → Signature processing succeeds


-- 
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]

Reply via email to