…' (use case is not performance-critical)
From `base-4.6.0` on, `catch` is not exported anymore by `Prelude` and therefore an `import Prelude hiding (catch)` results in a compilation error. This changeset adds `CPP` directives to avoid this compile error while retaining backward compatibility with older `base` versions.
This ensures that as far as HTTP headers go, the response generated by Snap.Test.runHandler is as close as possible to what will be sent out over the socket (excepting chunked transfer-encoding). Fixes #145.