* gpgkeys_hkp.c (get_key): Use options=mr when getting a key so keyserver
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 6 Jan 2003 23:05:39 +0000 (23:05 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 6 Jan 2003 23:05:39 +0000 (23:05 +0000)
doesn't attach the HTML header which we will just have to discard.

keyserver/ChangeLog
keyserver/gpgkeys_hkp.c

index c317448..8bc5deb 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-06  David Shaw  <dshaw@jabberwocky.com>
+
+       * gpgkeys_hkp.c (get_key): Use options=mr when getting a key so
+       keyserver doesn't attach the HTML header which we will just have
+       to discard.
+
 2002-11-17  David Shaw  <dshaw@jabberwocky.com>
 
        * gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver
index 3dd220e..207064c 100644 (file)
@@ -245,7 +245,7 @@ get_key(char *getkey)
       return KEYSERVER_NO_MEMORY;
     }
 
-  sprintf(request,"x-hkp://%s%s%s/pks/lookup?op=get&search=%s",
+  sprintf(request,"x-hkp://%s%s%s/pks/lookup?op=get&options=mr&search=%s",
          host,port[0]?":":"",port[0]?port:"", search);
 
   if(verbose>2)