mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
(send_key): Add a content type.
This commit is contained in:
parent
2d14620b2e
commit
ef3f2d81a1
2 changed files with 8 additions and 0 deletions
|
@ -165,6 +165,10 @@ send_key(int *eof)
|
|||
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",
|
||||
(unsigned)iobuf_get_temp_length(temp)+9);
|
||||
iobuf_writestr(hd.fp_write,request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue