pub struct Http11WellKnownOutput {
pub response: HttpResponse,
pub keep_alive: bool,
pub same_origin: bool,
pub redirect_url: Option<Url>,
}Expand description
Terminal output of Http11WellKnown; redirect_url is Some only on
3xx with a parseable Location. same_origin is false when a
redirect crosses scheme/host/port (do not forward credentials).
Fields§
§response: HttpResponseThe response to the well-known probe.
keep_alive: boolWhether the server signalled the connection can be reused.
same_origin: boolfalse when the redirect crosses scheme/host/port; do not
forward credentials without user consent.
redirect_url: Option<Url>The resolved redirect target, when the probe was redirected.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Http11WellKnownOutput
impl RefUnwindSafe for Http11WellKnownOutput
impl Send for Http11WellKnownOutput
impl Sync for Http11WellKnownOutput
impl Unpin for Http11WellKnownOutput
impl UnsafeUnpin for Http11WellKnownOutput
impl UnwindSafe for Http11WellKnownOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more