@@ -267,13 +267,13 @@ staticAppPieces ss rawPieces req sendResponse = liftIO $ do
267 Just hash -> replace "etag" (Just hash) (W.queryString req)
267 Just hash -> replace "etag" (Just hash) (W.queryString req)
268 Nothing -> remove "etag" (W.queryString req)
268 Nothing -> remove "etag" (W.queryString req)
270− sendResponse $ W.responseLBS H.status301
270+ sendResponse $ W.responseLBS H.status302
271 [ ("Content-Type", "text/plain")
271 [ ("Content-Type", "text/plain")
272 , ("Location", S8.append loc $ H.renderQuery True qString)
272 , ("Location", S8.append loc $ H.renderQuery True qString)
273 ] "Redirect"
273 ] "Redirect"
275 response (RawRedirect path) =
275 response (RawRedirect path) =
276− sendResponse $ W.responseLBS H.status301
276+ sendResponse $ W.responseLBS H.status302
277 [ ("Content-Type", "text/plain")
277 [ ("Content-Type", "text/plain")
278 , ("Location", path)
278 , ("Location", path)
279 ] "Redirect"
279 ] "Redirect"