<feed xmlns='http://www.w3.org/2005/Atom'>
<title>uclient/tests, branch master</title>
<subtitle>libubox HTTP client library</subtitle>
<id>https://git-03.infra.openwrt.org/project/uclient/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/uclient/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/'/>
<updated>2026-02-13T07:38:05Z</updated>
<entry>
<title>uclient-fetch: Support of --method, --body-data and --body-file</title>
<updated>2026-02-13T07:38:05Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2022-05-09T21:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/commit/?id=0392dfc8e8c445fc51a83674b18cc6a2f1700689'/>
<id>urn:sha1:0392dfc8e8c445fc51a83674b18cc6a2f1700689</id>
<content type='text'>
The --method allows executing PUT, DELETE, OPTIONS, HEAD e.g.:

    wget -O - -q \
    --method=PUT \
    --body-data='{"id": 42}' \
    --header='Content-Type: application/json' \
    http://api.example.com/

To avoid clashes with the --post-data/file options,
the separate --body-data/file must be used.
They are stored to the same post_data and post_file vars.
Mutual usage of the options is not allowed, same as in GNU wget.

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>uclient-fetch: add support for --header cmdline argument</title>
<updated>2024-06-27T00:11:43Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-04-02T19:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/commit/?id=a220818a1435cfa2b153aa36e6b9c543546fd9b8'/>
<id>urn:sha1:a220818a1435cfa2b153aa36e6b9c543546fd9b8</id>
<content type='text'>
Add --header='Header: value' option to allow adding custom HTTP headers
to a request, compatible with wget. The option can be used multiple times
to add multiple headers and also allows overriding the Content-Type header
for POST requests.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>tests: add certificate check against letsencrypt.org</title>
<updated>2022-02-24T09:04:36Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-02-24T09:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/commit/?id=dc54d2b544a1cecec9143805529c3016c208d574'/>
<id>urn:sha1:dc54d2b544a1cecec9143805529c3016c208d574</id>
<content type='text'>
In order to prevent regressions like #9283, lets add runtime check
against letsencrypt.org.

References: https://github.com/openwrt/openwrt/issues/9283
References: https://github.com/wolfSSL/wolfssl/issues/4879
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>tests: fix help usage test for uclient built with sanitizer</title>
<updated>2021-04-04T09:17:06Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-04-04T07:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/commit/?id=19571e4f947c27d6bb406d5a88334cc7ad901b7e'/>
<id>urn:sha1:19571e4f947c27d6bb406d5a88334cc7ad901b7e</id>
<content type='text'>
Commit 64e00d6db4c3 ("uclient-fetch: document missing options") has
changed output of usage help so adjust test accordingly.

Fixes: 64e00d6db4c3 ("uclient-fetch: document missing options")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>tests: fix help usage test</title>
<updated>2021-04-04T07:07:41Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-04-04T07:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/commit/?id=c5fc04b448435e74e98107b00df9a627ca1a1fa3'/>
<id>urn:sha1:c5fc04b448435e74e98107b00df9a627ca1a1fa3</id>
<content type='text'>
Commit 64e00d6db4c3 ("uclient-fetch: document missing options") has
changed output of usage help so adjust test accordingly.

Fixes: 64e00d6db4c3 ("uclient-fetch: document missing options")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>tests: fix possibly longer start of HTTP server</title>
<updated>2021-03-22T20:16:51Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2021-03-22T20:16:51Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/commit/?id=83efca2d2e7d1b84dd57fc6d62c398705285e5b2'/>
<id>urn:sha1:83efca2d2e7d1b84dd57fc6d62c398705285e5b2</id>
<content type='text'>
Seems like sometimes it can take some time to start HTTP server so let's
wait for the server becoming operating before executing test cases.

References: https://gitlab.com/openwrt/project/uclient/-/jobs/1118330555#L984
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>Add basic cram based unit tests</title>
<updated>2020-12-11T10:17:22Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-12-08T11:29:59Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/uclient/commit/?id=12df67e45bb0865edecc4f963afcec79077f213e'/>
<id>urn:sha1:12df67e45bb0865edecc4f963afcec79077f213e</id>
<content type='text'>
For the start just basic uclient-fetch functionality coverage.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
