1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-07-31 18:44:22 +03:00

18 Commits

Author SHA1 Message Date
1a3fb989a5 Make sure iContentLength doesn't wrap around due to malformed packets 2024-05-08 17:25:48 +02:00
0ec8824e58 Merge pull request #152 from tim-vandecasteele/tim-websocket-initialisation
Make sure to use HttpClient when upgrading the connection for websockets
2024-03-25 09:27:57 +01:00
9ddfad1977 Merge pull request #161 from kodav/Add-443-port-for-HTTPS-requests
Add 443 port for https requests
2024-03-22 12:37:53 +01:00
9d6adef048 Merge pull request #90 from Park0/master
ContentLength can go over 2 byte int
2024-03-22 09:34:37 +01:00
0a3e61acaf Update HttpClient.cpp
Add 443 port for HTTPS requests
2023-11-02 16:51:50 +07:00
c490dde1f1 Replace delay constant by variable 2023-08-04 22:35:09 -03:00
8566fb4cc0 Make sure to use HttpClient when upgrading the connection for websockets
Using WebSocketClient::begin I got into problems where `status = responseStatusCode();` would be trying to read the HTTP header, but because both HttpClient and WebSocketClient have a read function, the read from WebSocketClient was used, which returns a bunch of gibberish. This caused the WebSocket to think that the connection was not successfully upgraded.
2023-04-09 18:34:47 +02:00
e9897fc568 Correct typos in comments and documentation 2021-04-11 22:01:54 -07:00
9a5afdfc74 Fix -Wlogical-not-parentheses warning (#79)
* Fix -Wlogical-not-parentheses warning

The warning occurs because `operator!()` has higher precedence than `operator>()`.

Alternatively, we can use:
```
iClient->connect(iServerAddress, iServerPort) <= 0
```
2021-02-26 11:01:05 +01:00
0fac9f0033 ContentLength can go over 2 byte int
Converted int to long to allow for more then 65535 bytes in length
2020-06-28 11:53:31 +02:00
765f2db637 Merge pull request #21 from sandeepmistry/chunked-response-body-support
Add support for chunked response bodies
2017-04-13 17:09:57 +02:00
448a1520c8 Add new beginBody API 2017-03-28 14:12:20 -04:00
2a9c01c210 Change read() to always check available() if response is chunked 2017-03-25 09:40:52 -04:00
522cf5d11a Add support for chunked response bodies 2017-03-23 14:42:34 -04:00
d261fa35f5 Add support for PATCH operations 2017-01-03 16:20:03 -05:00
172049e0c3 Also set iBodyLengthConsumed to zero when parsing 2016-08-12 17:00:56 -04:00
fe46191445 Make HttpClient::responseBody more robust
Return invalidated String if memory allocation fails or content length
does not match body data length. Also, use timed reads to support
responses without a content length.
2016-07-12 17:23:48 -04:00
364364744e Create src folder 2016-07-05 09:32:13 -04:00