Emulate curl_easy_getinfo and CURLINFO_RESPONSE_CODE in curl-shim.
authorDavid Shaw <dshaw@jabberwocky.com>
Sun, 3 Mar 2013 01:07:27 +0000 (20:07 -0500)
committerDavid Shaw <dshaw@jabberwocky.com>
Sun, 3 Mar 2013 01:39:22 +0000 (20:39 -0500)
commitca0b94d4d41c81045ed97fad0569ff4b64e5a6fe
tree2239f0ac85029a474791bcf7739a6f1883bf5a50
parent1edc1b3751496885b236f5ab1194ad667c96b174
Emulate curl_easy_getinfo and CURLINFO_RESPONSE_CODE in curl-shim.

* keyserver/curl-shim.h, keyserver/curl-shim.c (curl_easy_getinfo):
  New. Return the HTTP status code for the last transfer.
keyserver/curl-shim.c
keyserver/curl-shim.h