servo / rust-url

URL parser for Rust
https://docs.rs/url/
Apache License 2.0
1.31k stars 325 forks source link

Add parameter spaceAsPlus to ByteSerialize #888

Open tuplecats opened 10 months ago

tuplecats commented 10 months ago

Hello! I think it would be nice to be able to enable/disable replacing "%20" with "+" in ByteSerialize struct.

This parameter and its usage described here https://url.spec.whatwg.org/#string-percent-encode-after-encoding