Forráskód Böngészése

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

Gregor 7 éve
szülő
commit
3833ec8a7b
1 módosított fájl, 1 hozzáadás és 1 törlés
  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