gluon-config-api: "Not Implemented" is 501

This commit is contained in:
lemoer 2021-08-11 15:44:50 +02:00
parent 7ae6a2b7d0
commit c19e083fb4

View File

@ -125,9 +125,9 @@ entry({"v1", "config"}, call(function(http, renderer)
http:header('Content-Type', 'application/json; charset=utf-8')
http:write(result)
else
http:status(400, 'Bad Request')
http:status(501, 'Not Implemented')
http:header('Content-Length', '0')
http:write('Not implemented')
http:write('Not Implemented\n')
end
http:close()