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:54:52 +0000 (20:54 -0500)
commit7808e4a763692b8bcd95264d39caf85fad32f0bd
tree5af39214177e8a406edd44aabcf9744ed8b8d46f
parentfe85638284880805b80778fe87ae551d3de0ca32
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