| 357 | } |
| 358 | |
| 359 | static cc_bool Http_UrlDirect(cc_uint8 c) { |
| 360 | return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') |
| 361 | || c == '-' || c == '_' || c == '.' || c == '~'; |
| 362 | } |
| 363 | |
| 364 | void Http_UrlEncode(cc_string* dst, const cc_uint8* data, int len) { |
| 365 | int i; |