scotty-web / scotty

Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository)
http://hackage.haskell.org/package/scotty
BSD 3-Clause "New" or "Revised" License
1.71k stars 132 forks source link

add redirectStatus function #402

Open hackeryarn opened 4 weeks ago

hackeryarn commented 4 weeks ago

This addresses issue https://github.com/scotty-web/scotty/issues/401.

I decided to go with a new function redirectStatus. Doing this makes the addition a non breaking change.

ocramz commented 4 weeks ago

Thank you @hackeryarn , much appreciate the non breaking change. Will look at this asap.