1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-06-11 17:08:08 +03:00
Commit Graph

174 Commits

Author SHA1 Message Date
54627fcb18 Bump arduino/arduino-lint-action from 1 to 2
Bumps [arduino/arduino-lint-action](https://github.com/arduino/arduino-lint-action) from 1 to 2.
- [Release notes](https://github.com/arduino/arduino-lint-action/releases)
- [Commits](https://github.com/arduino/arduino-lint-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: arduino/arduino-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 17:20:59 +00:00
657e2b08d9 Release 0.6.1 0.6.1 2024-07-25 12:04:37 +02:00
25f54e952e Merge pull request #176 from arduino-libraries/iContentLength_wraparound
Make sure iContentLength doesn't wrap around due to malformed packets
2024-07-25 12:03:49 +02:00
1a3fb989a5 Make sure iContentLength doesn't wrap around due to malformed packets 2024-05-08 17:25:48 +02:00
6f2659de4c Release v0.6.0 0.6.0 2024-03-26 10:25:16 +01: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
606a567ca4 Merge pull request #125 from carbotaniuman/patch-1
Reduce timeout from 1000ms to 100ms
2024-03-22 09:39:33 +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
397e6a1010 Merge pull request #124 from paclema/define_ws_tx_buffer_size
Added configurable WebSocket tx buffer size
2024-03-21 17:24:04 +01:00
5c5fafb4e8 Merge pull request #158 from AnCaPepe/AnCaPepe-custom-wait-delay
Add ability to set response wait time
2024-03-21 15:50:51 +01:00
2143747e7d Merge pull request #173 from andreagilardoni/url-parser
Added Url parser
2024-03-21 14:47:58 +01:00
9101851c3b Bump geekyeggo/delete-artifact from 4 to 5 (#175)
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 4 to 5.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 14:48:22 +01:00
9ea6ace0d0 moving http_parser from utility to utility/URLParser 2024-03-14 15:05:34 +01:00
482e088f93 added README for imported library 2024-03-14 14:42:40 +01:00
734f5b58a9 fixing codespell ci for imported url lib 2024-03-13 10:50:33 +01:00
dbe65d631e added include preprocessor for boards compatibility 2024-03-13 10:50:27 +01:00
8d44059cd5 Update examples/ParseURL/ParseURL.ino
Co-authored-by: per1234 <accounts@perglass.com>
2024-03-13 10:48:08 +01:00
680f815852 Merge pull request #174 from arduino-libraries/fix-compile-examples
Fix size deltas report infrastructure configuration
2024-02-21 19:00:52 +01:00
8c7bff748a Correct workflow artifact name pattern in size deltas report workflow
The "sketches-reports-source" input of the "arduino/report-size-deltas" GitHub Actions action defines the regular
expression that matches the names of the sketches report workflow artifacts produced by the "Compile Examples" workflow.

The key string in the names of these artifacts was set to "sketches-report" when the "Compile Examples" workflow was
adjusted for compatibility with the breaking changes introduced by updating to version 4.x of the workflow's
"actions/upload-artifact" GitHub Actions action dependency. The pattern set in the size deltas report workflow was
"sketches-reports". The "s" at the end of that pattern caused it to no longer match against the key string in the
artifact names after that adjustment of the "Compile Examples" workflow, resulting in size deltas reports no longer
being generated by the workflow.

Although a minimal fix would be to simply remove the "s" from the end of the pattern, the decision was made to use a
more strict regular expression. This will make it easier for maintainers and contributors to understand that this value
is a regular expression and the exact nature of how that regular expression functions (which is less clear when relying
on the "arduino/report-size-deltas" action's partial pattern matching behavior).
2024-02-21 18:57:48 +01:00
9f01bfe879 Revert "Fix regression: report size delta size on PR. (#172)"
This reverts commit 7a6b39a1af.
2024-02-21 18:57:17 +01:00
a1a79a5915 added example for url parsing 2024-02-21 16:25:42 +01:00
e5db3b5880 imported wrapper class for url parsing 2024-02-21 16:12:00 +01:00
6159db90b9 Removed functionalities not related to URL parsing from the imported library 2024-02-21 15:30:34 +01:00
cf741b0dbf Imported Url parser from src/http/ngx_http_parse.c from NGINX 2024-02-21 14:41:20 +01:00
7a6b39a1af Fix regression: report size delta size on PR. (#172)
The necessary steps have in fact been documented here: https://github.com/arduino/report-size-deltas/blob/main/docs/FAQ.md#workflow-triggered-by-pull_request-event but I have overlooked them when I fixed the upload issue. With this PR the size deltas are - once again - reported within the PR.
2024-02-21 06:58:53 +01:00
9625575fcc Fix regression re report-size-deltas after updating actions/upload-artifact. (#171)
For more information see https://github.com/arduino/report-size-deltas/blob/main/docs/FAQ.md#size-deltas-report-workflow-triggered-by-schedule-event .
2024-02-16 08:31:45 +01:00
a6a4127294 Bump geekyeggo/delete-artifact from 2 to 4 (#167)
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 2 to 4.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Changelog](https://github.com/GeekyEggo/delete-artifact/blob/main/CHANGELOG.md)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 08:25:26 +01:00
13d12a45fa Bump actions/download-artifact from 3 to 4 (#165)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 08:25:10 +01:00
a721a5b6b3 Bump actions/upload-artifact from 3 to 4 (#164)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 08:24:56 +01:00
ab3d0000f7 Update HttpClient.h 2023-11-02 16:55:21 +07:00
0a3e61acaf Update HttpClient.cpp
Add 443 port for HTTPS requests
2023-11-02 16:51:50 +07:00
09ecf29218 Merge pull request #159 from arduino-libraries/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-04 11:25:29 -07:00
42e8f10231 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 17:45:42 +00:00
c490dde1f1 Replace delay constant by variable 2023-08-04 22:35:09 -03:00
9b3987ca7f Add getter and setter functions 2023-08-04 22:33:13 -03:00
b93e3d2335 Add ability to set response wait time 2023-08-04 22:27:58 -03:00
0a1a8ab51a Release v0.5.0. 0.5.0 2023-07-17 09:53:42 +02: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
6dc4867478 Merge pull request #144 from arduino-libraries/dependabot/github_actions/carlosperate/download-file-action-2
Bump carlosperate/download-file-action from 1 to 2
2022-10-24 18:39:34 -07:00
8fc4883140 Bump carlosperate/download-file-action from 1 to 2
Bumps [carlosperate/download-file-action](https://github.com/carlosperate/download-file-action) from 1 to 2.
- [Release notes](https://github.com/carlosperate/download-file-action/releases)
- [Commits](https://github.com/carlosperate/download-file-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: carlosperate/download-file-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 17:52:24 +00:00
ded5cddd29 Merge pull request #142 from arduino-libraries/dependabot/github_actions/geekyeggo/delete-artifact-2
Bump geekyeggo/delete-artifact from 1 to 2
2022-10-12 10:35:26 -07:00
1f50562ffc Bump geekyeggo/delete-artifact from 1 to 2
Bumps [geekyeggo/delete-artifact](https://github.com/geekyeggo/delete-artifact) from 1 to 2.
- [Release notes](https://github.com/geekyeggo/delete-artifact/releases)
- [Commits](https://github.com/geekyeggo/delete-artifact/compare/v1...v2)

---
updated-dependencies:
- dependency-name: geekyeggo/delete-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 17:10:08 +00:00
b7fe7f78d4 Remove superfluous and broken manifest file (#133)
`library.json` is PlatformIO's native library manifest file but Arduino's `library.properties` is also supported by
PlatformIO:

https://docs.platformio.org/en/latest/librarymanager/creating.html#creating-library

The `library.json` file was missing the required `version` field:

https://docs.platformio.org/en/latest/librarymanager/config.html#version

Although it could be added, experience with other libraries indicates that it is not really realistic to expect two
manifest files to be properly maintained.

Since the Arduino development software and the Arduino Library Manager requires `library.properties`, if we are to have
only one the choice of keeping `library.properties` and removing `library.json` is clear.
2022-04-25 06:52:33 +02:00
31b4947cad Merge pull request #131 from arduino-libraries/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-04-11 03:57:17 -07:00
84e1d2f9d1 Merge pull request #132 from arduino-libraries/dependabot/github_actions/actions/download-artifact-3
Bump actions/download-artifact from 2 to 3
2022-04-11 03:47:07 -07:00
033387f9ff Bump actions/download-artifact from 2 to 3
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 17:08:57 +00:00
533711d23a Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 17:08:54 +00:00
9b83da4213 Merge pull request #126 from arduino-libraries/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-02 09:19:44 -08:00
2b74b7a619 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 17:11:28 +00:00