mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-22 19:58:29 +01:00
* hkp.c (hkp_export): Send a content-type line.
This commit is contained in:
parent
21d83f02fa
commit
39c7b95e93
@ -1,3 +1,7 @@
|
||||
2004-01-13 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* hkp.c (hkp_export): Send a content-type line.
|
||||
|
||||
2004-01-09 David Shaw <dshaw@localhost.localdomain>
|
||||
|
||||
* packet.h, getkey.c (merge_selfsigs, merge_selfsigs_main),
|
||||
|
@ -161,6 +161,10 @@ hkp_export( STRLIST users )
|
||||
return rc;
|
||||
}
|
||||
|
||||
/* 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",
|
||||
(unsigned)iobuf_get_temp_length(temp) + 9 );
|
||||
iobuf_writestr( hd.fp_write, request );
|
||||
|
Loading…
x
Reference in New Issue
Block a user