Convenience middleware for HTTP 3xx redirects