Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 |
--- 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)
