G-XD commented on issue #2933: URL: https://github.com/apache/incubator-opendal/issues/2933#issuecomment-1699392216
> I'm sorry, I made a mistake. The real cause of this problem is due to the `nginx` server. When the object storage service uses the `http2` protocol, it sends both the `host` header and the `:authority` pseudo-header, and when the nginx server encounters this, it returns a `400 bad request` error. > > see: https://trac.nginx.org/nginx/ticket/2268 First the `host` request header is added in [reqsign](https://github.com/Xuanwo/reqsign/blob/main/src/aws/v4.rs#L274), then `hyper` automatically adds the `:authority` pseudo-header when using the h2 protocol. -- 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]
