fix superfluous \r\n after body
Fork of mbed-http by
Diff: source/http_response_parser.h
- Revision:
- 4:539df159e058
- Parent:
- 3:8a6b003e3874
- Child:
- 7:2e3eedb9ca5c
--- a/source/http_response_parser.h Thu Feb 23 13:28:07 2017 +0100 +++ b/source/http_response_parser.h Thu Feb 23 13:50:43 2017 +0100 @@ -103,8 +103,7 @@ return 0; } - string s(at, length); - response->set_body(s); + response->set_body(at, length); return 0; }