aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-08-18 11:28:44 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-08-18 11:28:44 -0700
commit87879d2bbeb8113fcba1d1e2af980aa4ae68a525 (patch)
tree9551a77ba918c692baed331414717166facc2a42
parentf0efb491d8bc1df3e5d54533b3e641ee61268de6 (diff)
Fix comments
-rw-r--r--src/core/lib/support/percent_encoding.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/support/percent_encoding.h b/src/core/lib/support/percent_encoding.h
index 8259740678..61d7b6d361 100644
--- a/src/core/lib/support/percent_encoding.h
+++ b/src/core/lib/support/percent_encoding.h
@@ -38,7 +38,15 @@
#include <grpc/support/slice.h>
+/* URL percent encoding spec bitfield (usabel as 'unreserved_bytes' in
+ gpr_percent_encode_slice, gpr_strict_percent_decode_slice).
+ Flags [A-Za-z0-9-_.~] as unreserved bytes for the percent encoding routines
+ */
extern const uint8_t gpr_url_percent_encoding_unreserved_bytes[256 / 8];
+/* URL percent encoding spec bitfield (usabel as 'unreserved_bytes' in
+ gpr_percent_encode_slice, gpr_strict_percent_decode_slice).
+ Flags ascii7 non-control characters excluding '%' as unreserved bytes for the
+ percent encoding routines */
extern const uint8_t gpr_compatible_percent_encoding_unreserved_bytes[256 / 8];
/* Percent-encode a slice, returning the new slice (this cannot fail):