Fork of SandBox's original mbed-http (https://os.mbed.com/teams/sandbox/code/mbed-http/) and update for MbedOS6+ Content of TESTS folder was replaced with basic examples form original SandBox's HelloWorld
Diff: source/http_parsed_url.h
- Revision:
- 38:bfd37a21f367
- Parent:
- 9:1289162d9530
- Child:
- 39:a8d157986ad8
diff -r 98d83ca14b7b -r bfd37a21f367 source/http_parsed_url.h --- a/source/http_parsed_url.h Fri Aug 09 11:28:50 2019 +0200 +++ b/source/http_parsed_url.h Fri Aug 09 13:23:47 2019 +0200 @@ -52,7 +52,7 @@ _port = parsed_url.port; if (!_port) { - if (strcmp(_schema, "https") == 0) { + if (strcmp(_schema, "https") == 0 || strcmp(_schema, "wss") == 0) { _port = 443; } else {