summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_NOBODY.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_NOBODY.html')
-rw-r--r--docs/libcurl/opts/CURLOPT_NOBODY.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_NOBODY.html b/docs/libcurl/opts/CURLOPT_NOBODY.html
index e82a3bab..3ca44189 100644
--- a/docs/libcurl/opts/CURLOPT_NOBODY.html
+++ b/docs/libcurl/opts/CURLOPT_NOBODY.html
@@ -62,10 +62,10 @@ p.roffit {
curl = curl_easy_init();
if(curl) {
&nbsp; curl_easy_setopt(curl, CURLOPT_URL, "<a href="http://example.com">http://example.com</a>");
-
+&nbsp;
&nbsp; /* get us the resource without a body! */
&nbsp; curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
-
+&nbsp;
&nbsp; /* Perform the request */
&nbsp; curl_easy_perform(curl);
}