lann opened issue #8430:
The outbound HTTP implementation will add a default port to the URI authority if not present:
As reported on Zulip and as a Spin issue, this causes breakage with AWS signed requests, which include the exact host header value in the signature payload.
I believe the current behavior is incorrect. Per the HTTP/1.1 spec:
If the target URI includes an authority component, then a client MUST send a field value for Host that is identical to that authority component
alexcrichton commented on issue #8430:
cc @elliottt
lann edited issue #8430:
The outbound HTTP implementation will add a default port to the URI authority if not present:
As reported on Zulip and as a Spin issue, this causes breakage with AWS signed requests, which include the exact host header value in the signature payload.
I believe the current behavior is incorrect. Per the HTTP/1.1 spec:
If the target URI includes an authority component, then a client MUST send a field value for Host that is identical to that authority component
alexcrichton closed issue #8430:
The outbound HTTP implementation will add a default port to the URI authority if not present:
As reported on Zulip and as a Spin issue, this causes breakage with AWS signed requests, which include the exact host header value in the signature payload.
I believe the current behavior is incorrect. Per the HTTP/1.1 spec:
If the target URI includes an authority component, then a client MUST send a field value for Host that is identical to that authority component
Last updated: Nov 22 2024 at 17:03 UTC