Hi Petr and thank you for the review. I'm not sure what to add to the
option described in man but here is a comment that I made:

You can add a custom HTTP header(s) to request:

    wget --header='Authorization: Bearer TOKEN' \
        --header='If-Modified-Since: Wed, 9 May 2021 12:16:00 GMT' \
        https://example.com/

Some headers like Authorization or User-Agent may be already set by
--password or --user-agent.
We may override them but it's a protection from user itself.
To keep code concise the logic omitted.


I don't know how to update the patch because when I sent it created a
new PR or patchwork.
So please change the commit description yourself.


On Sun, 9 May 2021 at 10:24, Petr Štetiar <yn...@true.cz> wrote:
>
> Sergey Ponomarev <stok...@gmail.com> [2021-05-08 22:23:43]:
>
> As stated in https://openwrt.org/submitting-patches your v2 should look like:
>
>  Subject: [PATCH uclient] uclient-fetch: add support for --header option
>
>  put missing commit description here
>
> > Signed-off-by: Sergey Ponomarev <stok...@gmail.com>

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to