Fork of mbed-http
Fork of mbed-http by
Diff: source/http_response.h
- Revision:
- 13:efe5c8b16dab
- Parent:
- 9:1289162d9530
- Child:
- 14:5f9acddaa0a4
--- a/source/http_response.h Tue Mar 28 14:47:51 2017 +0200
+++ b/source/http_response.h Wed Mar 29 16:52:54 2017 +0100
@@ -159,6 +159,10 @@
is_message_completed = true;
}
+ size_t get_expected_content_length() {
+ return expected_content_length;
+ }
+
private:
// from http://stackoverflow.com/questions/5820810/case-insensitive-string-comp-in-c
int strcicmp(char const *a, char const *b) {
Matthew Else
