1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-04-25 17:42:31 +03:00

162 Commits

Author SHA1 Message Date
Andrea Gilardoni
9d6adef048
Merge pull request #90 from Park0/master
ContentLength can go over 2 byte int
2024-03-22 09:34:37 +01:00
Andrea Gilardoni
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
Andrea Gilardoni
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
Andrea Gilardoni
2143747e7d
Merge pull request #173 from andreagilardoni/url-parser
Added Url parser
2024-03-21 14:47:58 +01:00
dependabot[bot]
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
Andrea Gilardoni
9ea6ace0d0 moving http_parser from utility to utility/URLParser 2024-03-14 15:05:34 +01:00
Andrea Gilardoni
482e088f93 added README for imported library 2024-03-14 14:42:40 +01:00
Andrea Gilardoni
734f5b58a9 fixing codespell ci for imported url lib 2024-03-13 10:50:33 +01:00
Andrea Gilardoni
dbe65d631e added include preprocessor for boards compatibility 2024-03-13 10:50:27 +01:00
Andrea Gilardoni
8d44059cd5
Update examples/ParseURL/ParseURL.ino
Co-authored-by: per1234 <accounts@perglass.com>
2024-03-13 10:48:08 +01:00
Alexander Entinger
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
Alexander Entinger
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
Alexander Entinger
9f01bfe879 Revert "Fix regression: report size delta size on PR. (#172)"
This reverts commit 7a6b39a1af31c175c7e999ac366f52b6a3efcba4.
2024-02-21 18:57:17 +01:00
Andrea Gilardoni
a1a79a5915 added example for url parsing 2024-02-21 16:25:42 +01:00
Andrea Gilardoni
e5db3b5880 imported wrapper class for url parsing 2024-02-21 16:12:00 +01:00
Andrea Gilardoni
6159db90b9 Removed functionalities not related to URL parsing from the imported library 2024-02-21 15:30:34 +01:00
Andrea Gilardoni
cf741b0dbf Imported Url parser from src/http/ngx_http_parse.c from NGINX 2024-02-21 14:41:20 +01:00
Alexander Entinger
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
Alexander Entinger
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
dependabot[bot]
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
dependabot[bot]
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
dependabot[bot]
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
per1234
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
dependabot[bot]
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
Leonardo José
c490dde1f1
Replace delay constant by variable 2023-08-04 22:35:09 -03:00
Leonardo José
9b3987ca7f
Add getter and setter functions 2023-08-04 22:33:13 -03:00
Leonardo José
b93e3d2335
Add ability to set response wait time 2023-08-04 22:27:58 -03:00
Alexander Entinger
0a1a8ab51a
Release v0.5.0. 0.5.0 2023-07-17 09:53:42 +02:00
per1234
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
dependabot[bot]
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
per1234
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
dependabot[bot]
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
per1234
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
per1234
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
per1234
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
dependabot[bot]
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
dependabot[bot]
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
per1234
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
dependabot[bot]
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
Pablo Clemente
09c53095e3 Added configurabel WebSocket tx buffer size 2022-01-25 12:00:21 +01:00
per1234
c014e0cdb8
Add GitHub Actions workflow to synchronize with shared repository labels (#120)
On every push that changes relevant files, and periodically, configure the repository's issue and pull request labels
according to the universal, shared, and local label configuration files.
2022-01-10 10:00:56 +01:00
Alexander Entinger
1751e10675
Merge pull request #102 from arduino-libraries/ci
Use GitHub Actions for continuous integration
2021-04-14 07:15:57 +02:00
per1234
b9db038174 Report changes in memory usage that would result from merging a PR
On creation or commit to a pull request, a report of the resulting change in memory usage of the examples will be
commented to the PR thread.
2021-04-11 23:48:52 -07:00
per1234
d07192a7f7 Add "smoke test" examples compilation CI workflow
On every push or pull request that affects library source or example files, and periodically, compile all example
sketches for the specified boards.
2021-04-11 23:48:52 -07:00
per1234
0d235030a6 Add CI workflow to do Arduino project-specific linting
On every push, pull request, and periodically, run Arduino Lint to check for common problems not related to the project
code.
2021-04-11 22:01:54 -07:00
per1234
e9897fc568 Correct typos in comments and documentation 2021-04-11 22:01:54 -07:00
per1234
42d8a204f0 Add CI workflow to check for commonly misspelled words
On every push, pull request, and periodically, use the codespell-project/actions-codespell action to check for commonly
misspelled words.

In the event of a false positive, the problematic word should be added, in all lowercase, to the ignore-words-list field
of ./.codespellrc. Regardless of the case of the word in the false positive, it must be in all lowercase in the ignore
list. The ignore list is comma-separated with no spaces.
2021-04-11 21:41:26 -07:00
per1234
05b7dfe53d Configure Dependabot to check for outdated actions used in workflows
Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to
be outdated, it will submit a pull request to update them.
NOTE: Dependabot's PRs will sometimes try to pin to the patch version of the action (e.g., updating `uses: foo/bar@v1`
to `uses: foo/bar@v2.3.4`). When the action author has provided a major version ref, use that instead
(e.g., `uses: foo/bar@v2`). Dependabot will automatically close its PR once the workflow has been updated.
More information:
https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
2021-04-11 21:40:50 -07:00
Vaibhav Patel
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
Park0
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