Re: [PATCH v3 32/35] http: allow providing extra headers for http requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue,  6 Feb 2018 17:13:09 -0800
Brandon Williams <bmwill@xxxxxxxxxx> wrote:

> @@ -172,6 +172,8 @@ struct http_get_options {
>  	 * for details.
>  	 */
>  	struct strbuf *base_url;
> +
> +	struct string_list *extra_headers;

Document this? For example:

  If not NULL, additional HTTP headers to be sent with the request. The
  strings in the list must not be freed until after the request.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux