mod_auth_http/mod_auth_http.lua
changeset 4458 8862a80cbd00
parent 4161 93b12bfd7aa8
--- 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;