Merge pull request #86 from HHHartmann/WrongParameter

httpserver-header.lc requires the file extension not the MIME type
This commit is contained in:
Marcos
2017-05-31 22:02:02 -05:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
return function (connection, req, args)
dofile("httpserver-header.lc")(connection, 200, 'application/json')
dofile("httpserver-header.lc")(connection, 200, 'json')
connection:send('{')
local mbOffset = nil