equal
deleted
inserted
replaced
450 response.headers.x_xss_protection = "1; mode=block"; |
450 response.headers.x_xss_protection = "1; mode=block"; |
451 |
451 |
452 return response:send_file(handle); |
452 return response:send_file(handle); |
453 end |
453 end |
454 |
454 |
455 if expiry >= 0 and not external_base_url then |
455 if expiry < math.huge and not external_base_url then |
456 -- TODO HTTP DELETE to the external endpoint? |
456 -- TODO HTTP DELETE to the external endpoint? |
457 local array = require "prosody.util.array"; |
457 local array = require "prosody.util.array"; |
458 local async = require "prosody.util.async"; |
458 local async = require "prosody.util.async"; |
459 local ENOENT = require "prosody.util.pposix".ENOENT; |
459 local ENOENT = require "prosody.util.pposix".ENOENT; |
460 |
460 |