git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CURLOPT_NOBODY
@ 2015-04-30  2:20 Thiago Farina
  2015-04-30  3:55 ` CURLOPT_NOBODY Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Thiago Farina @ 2015-04-30  2:20 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-30 20:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-30  2:20 CURLOPT_NOBODY Thiago Farina
2015-04-30  3:55 ` CURLOPT_NOBODY Jeff King
2015-04-30 19:57   ` CURLOPT_NOBODY Thiago Farina
2015-04-30 20:13     ` CURLOPT_NOBODY Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).