Add 'Location' to exposed headers

This commit is contained in:
Brikou Carré
2015-02-18 10:22:24 +01:00
parent 337b49f386
commit a93e6c050d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ corsPolicy req = case lookup "origin" headers of
, corsRequestHeaders = "Authentication":accHeaders
, corsExposedHeaders = Just [
"Content-Encoding", "Content-Location", "Content-Range", "Content-Type"
, "Date", "Server", "Transfer-Encoding", "Range-Unit"
, "Date", "Location", "Server", "Transfer-Encoding", "Range-Unit"
]
}
Nothing -> Nothing