hyperium / http

Rust HTTP types
Apache License 2.0
1.14k stars 284 forks source link

ensure URIs with authority have leading slash on path #515

Closed robjtede closed 9 months ago

robjtede commented 2 years ago

partially addresses #507

kolbma commented 2 years ago

I think this would only deny to create wrong URIs on client side, but server side pushes invalid URIs with HTTP/2 to the service handler.
How do we create invalid URIs if the Builder checks this?

robjtede commented 2 years ago

I've removed the link to #507 since it doesn't fully address it. But it does address the builder side of the problem afaict.