Modified HTTPClient with longer Path vars
Fork of HTTPClient by
Revision 22:4e54fbefcb08, committed 2016-01-23
- Comitter:
- co657_cdc8
- Date:
- Sat Jan 23 18:07:00 2016 +0000
- Parent:
- 21:87fb5dd782dc
- Commit message:
- Modified to accept larger paths
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 87fb5dd782dc -r 4e54fbefcb08 HTTPClient.cpp --- a/HTTPClient.cpp Mon Oct 19 14:46:48 2015 +0000 +++ b/HTTPClient.cpp Sat Jan 23 18:07:00 2016 +0000 @@ -127,8 +127,8 @@ char scheme[8]; uint16_t port; - char host[32]; - char path[64]; + char host[64]; + char path[128]; //First we need to parse the url (http[s]://host[:port][/[path]]) -- HTTPS not supported (yet?) HTTPResult res = parseURL(url, scheme, sizeof(scheme), host, sizeof(host), &port, path, sizeof(path)); if(res != HTTP_OK)