mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-22 14:57:02 +01:00
(send_key): Add a content type.
This commit is contained in:
parent
2d14620b2e
commit
ef3f2d81a1
@ -1,3 +1,7 @@
|
|||||||
|
2004-01-13 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* gpgkeys_hkp.c (send_key): Add a content type.
|
||||||
|
|
||||||
2004-01-11 David Shaw <dshaw@jabberwocky.com>
|
2004-01-11 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* gpgkeys_hkp.c (search_key): Catch a mangled input file (useful
|
* gpgkeys_hkp.c (search_key): Catch a mangled input file (useful
|
||||||
|
@ -165,6 +165,10 @@ send_key(int *eof)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Some keyservers require this Content-Type (e.g. CryptoEx). */
|
||||||
|
iobuf_writestr(hd.fp_write,
|
||||||
|
"Content-Type: application/x-www-form-urlencoded\r\n");
|
||||||
|
|
||||||
sprintf(request,"Content-Length: %u\r\n",
|
sprintf(request,"Content-Length: %u\r\n",
|
||||||
(unsigned)iobuf_get_temp_length(temp)+9);
|
(unsigned)iobuf_get_temp_length(temp)+9);
|
||||||
iobuf_writestr(hd.fp_write,request);
|
iobuf_writestr(hd.fp_write,request);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user