mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
IE aggressively caches ajax calls, adding this header makes it behaivior consistent with other browsers
This commit is contained in:
parent
5ccbf68362
commit
c69420b5b3
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user