Fork of SandBox's original mbed-http (https://os.mbed.com/teams/sandbox/code/mbed-http/) and update for MbedOS6+ Content of TESTS folder was replaced with basic examples form original SandBox's HelloWorld
Diff: source/http_request_builder.h
- Revision:
- 29:383e9bfbfbed
- Parent:
- 26:fe4e03a404fb
- Child:
- 32:fa4d71265625
diff -r 9a04ed79d67e -r 383e9bfbfbed source/http_request_builder.h --- a/source/http_request_builder.h Tue Mar 27 11:07:02 2018 +0200 +++ b/source/http_request_builder.h Fri Aug 10 11:30:37 2018 +0100 @@ -58,7 +58,7 @@ } } - char* build(const void* body, size_t body_size, size_t &size, bool skip_content_length = false) { + char* build(const void* body, unsigned int body_size, uint32_t &size, bool skip_content_length = false) { const char* method_str = http_method_str(method); bool is_chunked = has_header("Transfer-Encoding", "chunked");