| 376 | } |
| 377 | |
| 378 | void Http_UrlEncodeUtf8(cc_string* dst, const cc_string* src) { |
| 379 | cc_uint8 data[4]; |
| 380 | int i, len; |
| 381 | |
| 382 | for (i = 0; i < src->length; i++) { |
| 383 | len = Convert_CP437ToUtf8(src->buffer[i], data); |
| 384 | Http_UrlEncode(dst, data, len); |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | /* Outputs more detailed information about errors with http requests */ |
| 389 | static cc_bool HttpBackend_DescribeError(cc_result res, cc_string* dst); |
no test coverage detected