Revert "feat: impl IntoResponseParts for Redirect (#3721)"

This reverts commit 4eed2f6c13.
This commit is contained in:
David Pedersen
2026-05-05 15:04:03 +02:00
parent acc17a5089
commit c2bf6db649
4 changed files with 2 additions and 127 deletions
@@ -107,18 +107,6 @@ pub struct ResponseParts {
}
impl ResponseParts {
/// Gets the response status code.
#[must_use]
pub fn status(&self) -> StatusCode {
self.res.status()
}
/// Gets a mutable reference to the response status code.
#[must_use]
pub fn status_mut(&mut self) -> &mut StatusCode {
self.res.status_mut()
}
/// Gets a reference to the response headers.
#[must_use]
pub fn headers(&self) -> &HeaderMap {