plabayo / rama

modular service framework to move and transform network packets
https://ramaproxy.org
Apache License 2.0
189 stars 20 forks source link

[http/1.1] absolute URI MUST have priority over other sources #317

Closed GlenDC closed 2 months ago

GlenDC commented 2 months ago

if a uri is absolute and it has a host header then this should be considered the HOST , and not something like a host header

The code at the time of writing this ticket is wrong, as we use the host header over the absolute uri for establishing connections!

https://datatracker.ietf.org/doc/html/rfc2616#section-5.2