mod_rest: Remove inaccurate comment
authorKim Alvefur <zash@zash.se>
Tue, 23 Mar 2021 20:23:35 +0100
changeset 4530 23b681214be3
parent 4529 b68b801ddc50
child 4531 9a6aaba3d5ef
mod_rest: Remove inaccurate comment It also checks Basic auth here. Removing since it doesn't seem to add much.
mod_rest/mod_rest.lua
--- a/mod_rest/mod_rest.lua	Tue Mar 23 17:44:49 2021 +0100
+++ b/mod_rest/mod_rest.lua	Tue Mar 23 20:23:35 2021 +0100
@@ -31,7 +31,6 @@
 	www_authenticate_header = table.concat(header, ", ");
 end
 
--- Bearer token
 local function check_credentials(request)
 	local auth_type, auth_data = string.match(request.headers.authorization, "^(%S+)%s(.+)$");
 	if not (auth_type and auth_data) or not auth_mechanisms:contains(auth_type) then