See the define_encode_set! macro.
@@ -1,7 +1,7 @@
[package]
name = "url"
-version = "0.5.9"
+version = "1.0.0-dev"
authors = [ "Simon Sapin <simon.sapin@exyr.org>" ]
description = "URL library for Rust, based on the WHATWG URL Standard"
@@ -117,15 +117,6 @@ define_encode_set! {
}
-define_encode_set! {
- /// This encode set is used for HTTP header values and is defined at
- /// https://tools.ietf.org/html/rfc5987#section-3.2
- pub HTTP_VALUE = [SIMPLE_ENCODE_SET] | {
- ' ', '"', '%', '\'', '(', ')', '*', ',', '/', ':', ';', '<', '-', '>', '?',
- '[', '\\', ']', '{', '}'
- }
-}
-
/// Percent-encode the given bytes, and push the result to `output`.
///
/// The pushed strings are within the ASCII range.