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.
Diff: HTTPClient.cpp
- Revision:
- 20:f94e8df3b95d
- Parent:
- 19:a0d9edb403e5
diff -r a0d9edb403e5 -r f94e8df3b95d HTTPClient.cpp
--- a/HTTPClient.cpp Fri Mar 20 14:17:14 2015 +0000
+++ b/HTTPClient.cpp Mon Apr 29 00:53:36 2019 +0000
@@ -131,6 +131,7 @@
char path[64];
//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)
{
ERR("parseURL returned %d", res);