git/list[1] front-page[2] threads[3] people[4] search[5] about
 

CURLOPT_NOBODY

From
Thiago Farina <tfransosi@gmail.com>
Date
Apr 30, 2015, 02:20 UTC
Message-ID
<CACnwZYdCitEJ=pr=1+C_Wz5pKTbSYj4hD7mQHLC3gaDO8CqnrA@mail.gmail.com>
Hey there,

Do we need to set CURLOPT_NOBODY to 0 in https://code.googlesource.com/git/+/master/http.c#1138? Do we do this for the sake of doing, because it doesn't hurt?

According to the documentation in http://curl.haxx.se/libcurl/c/CURLOPT_HTTPGET.html, if we set HTTPGET to 1 it will automatically set NOBODY to 0, so the answer for the above question would be no.

Also, according to http://curl.haxx.se/libcurl/c/CURLOPT_NOBODY.html, it is 0 by default.

Bye,
-- 
Thiago Farina
Next: Jeff King
Message 1 of 4 in “CURLOPT_NOBODY”
  1. Thiago FarinaApr 30, 2015
  2. Jeff KingApr 30, 2015
  3. Thiago FarinaApr 30, 2015
  4. Jeff KingApr 30, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.