Browse Source

httpserver-header.lc requires the file extension not the MIME type

Gregor 7 years ago
parent
commit
3833ec8a7b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      http/upload.lua

+ 1 - 1
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