Thread (329 messages) 329 messages, 12 authors, 2018-03-14

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

From: Brandon Williams <hidden>
Date: 2018-02-22 18:59:01

On 02/21, Jonathan Tan wrote:
On Tue,  6 Feb 2018 17:13:09 -0800
Brandon Williams [off-list ref] wrote:
quoted
@@ -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.
I'll add that.

-- 
Brandon Williams
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help