[http] Make output_body (request body) in http_client_ctx "const" and delete unused fields

This commit is contained in:
Christian Meffert
2025-01-26 05:55:47 +00:00
parent f6ffa321bb
commit 9283d0c3c2
2 changed files with 6 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ struct http_client_ctx
*/
const char *url;
struct keyval *output_headers;
char *output_body;
const char *output_body;
/* A keyval/evbuf to store response headers and body.
* Can be set to NULL to ignore that part of the response.
@@ -37,10 +37,6 @@ struct http_client_ctx
/* HTTP Response code */
int response_code;
/* Private */
int ret;
void *evbase;
};
struct http_icy_metadata