# HG changeset patch # User Ben # Date 1611560497 -3600 # Node ID 8862a80cbd0087369d5b13b80087e383f09db624 # Parent 0508822361ebd2ab0f449d34b94689fa898eb0e5 mod_auth_http: type fix #1621 Committed-By: Zash diff -r 0508822361eb -r 8862a80cbd00 mod_auth_http/mod_auth_http.lua --- a/mod_auth_http/mod_auth_http.lua Sat Feb 20 20:17:18 2021 +0100 +++ b/mod_auth_http/mod_auth_http.lua Mon Jan 25 08:41:37 2021 +0100 @@ -48,7 +48,7 @@ } if method_type == "POST" then url = api_base.."/"..method_name; - ex.headers["Content-Type"] = "application/x/www-form-urlencoded"; + ex.headers["Content-Type"] = "application/x-www-form-urlencoded"; ex.body = encoded_params; else url = api_base.."/"..method_name.."?"..encoded_params;