From 3833ec8a7b41a37db910e7ec7cf3428775ec5154 Mon Sep 17 00:00:00 2001 From: Gregor Date: Mon, 29 May 2017 19:13:30 +0200 Subject: [PATCH] httpserver-header.lc requires the file extension not the MIME type --- http/upload.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/upload.lua b/http/upload.lua index acf12bf..283453c 100644 --- a/http/upload.lua +++ b/http/upload.lua @@ -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