[http] Add support for http post in the libevent client (required for scrobbling)

This commit is contained in:
ejurgensen
2017-01-25 22:51:54 +01:00
parent db4068f046
commit 41aa530fd3
2 changed files with 42 additions and 18 deletions

View File

@@ -10,8 +10,8 @@
struct http_client_ctx
{
/* Destination URL, header and body of outgoing request body (headers and
* body is currently only supported for https)
/* Destination URL, header and body of outgoing request body. If output_body
* is set, the request will be POST, otherwise it will be GET
*/
const char *url;
struct keyval *output_headers;