0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-06-26 03:21:22 +02:00

IE aggressively caches ajax calls, adding this header makes it behaivior consistent with other browsers

This commit is contained in:
peteruithoven 2013-12-11 16:57:44 +01:00
parent 5ccbf68362
commit c69420b5b3

View File

@ -149,6 +149,7 @@ function M:send()
printHeaderLine("Status", self.httpStatusCode .. " " .. self.httpStatusText)
printHeaderLine("Content-Type", self.contentType)
printHeaderLine("Access-Control-Allow-Origin", "*")
printHeaderLine("Expires", "-1")
if self.binaryData == nil then
io.write("\r\n")