MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Http_UrlEncodeUtf8

Function Http_UrlEncodeUtf8

src/_HttpBase.h:378–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void 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 */
389static cc_bool HttpBackend_DescribeError(cc_result res, cc_string* dst);

Callers 1

SignInTask_AppendFunction · 0.70

Calls 2

Convert_CP437ToUtf8Function · 0.85
Http_UrlEncodeFunction · 0.85

Tested by

no test coverage detected