Changeset

4454:8862a80cbd00

mod_auth_http: type fix #1621 Committed-By: Zash
author Ben
date Mon, 25 Jan 2021 08:41:37 +0100
parents 4453:0508822361eb
children 4455:89e54247ade6
files mod_auth_http/mod_auth_http.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;