Skip to content

Add support for chunked response bodies #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename isChunked to isResponseChunked
  • Loading branch information
sandeepmistry committed Apr 13, 2017
commit fdedff59b8a795c5205d9d90fa4e5cee28f3cc78
2 changes: 1 addition & 1 deletion keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endOfHeadersReached KEYWORD2
endOfBodyReached KEYWORD2
completed KEYWORD2
contentLength KEYWORD2
isChunked KEYWORD2
isResponseChunked KEYWORD2
connectionKeepAlive KEYWORD2
noDefaultRequestHeaders KEYWORD2
headerAvailable KEYWORD2
Expand Down
2 changes: 1 addition & 1 deletion src/HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class HttpClient : public Client
/** Returns if the response body is chunked
@return true if response body is chunked, false otherwise
*/
int isChunked() { return iIsChunked; }
int isResponseChunked() { return iIsChunked; }

/** Return the response body as a String
Also skips response headers if they have not been read already
Expand Down