hyperium / http

Rust HTTP types
Apache License 2.0
1.16k stars 289 forks source link

From impls of PathAndQuery and Authority for Uri #538

Closed jeddenlea closed 2 years ago

jeddenlea commented 2 years ago

A Uri may logically hold only an Authority or only a PathAndQuery. Should an application want to make such Uris, it would be easier to safely create them by first making just an Authority or just a PathAndQuery, then cheaply convert them directly into a Uri.

jeddenlea commented 2 years ago

@seanmonstar #499 required 1.49, but it looks like the CI is still trying to build with 1.46.

seanmonstar commented 2 years ago

I think it's because it's commits from before the updated MSRV. The list says 1.49 is required but not running.

jeddenlea commented 2 years ago

That makes sense too... I've rebased.