Allow HTTP-POST with F=403

I had a site which returns 200OK, but a json containing 403. Get results in "invalid api call". Allow using F= with post.
This commit is contained in:
Daniël van den Berg 2023-08-10 16:25:37 +02:00 committed by GitHub
parent 568ef74e0d
commit d2363dc99e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -388,7 +388,7 @@ static const struct {
{"http-get-form", service_http_form_init, service_http_get_form, usage_http_form},
{"http-head", service_http_init, service_http_head, NULL},
{"http-form", service_http_form_init, NULL, usage_http_form},
{"http-post", NULL, service_http_post, usage_http},
{"http-post", service_http_init, service_http_post, usage_http},
{"http-post-form", service_http_form_init, service_http_post_form, usage_http_form},
SERVICE3("http-proxy", http_proxy),
SERVICE3("http-proxy-urlenum", http_proxy_urlenum),