Fixing `redirect()` for all browsers by removing misleading headers from response