# actix_web::http::header::PROXY_AUTHENTICATE - Rust
API documentation for the Rust `PROXY_AUTHENTICATE` constant in crate `actix_web`.
Keywords: rust, rustlang, rust-lang, PROXY_AUTHENTICATE

# [−] [src] Constant actix_web::http::header::PROXY_AUTHENTICATE

    pub const PROXY_AUTHENTICATE: HeaderName

Defines the authentication method that should be used to gain access to a proxy.

Unlike `www-authenticate`, the `proxy-authenticate` header field applies only to the next outbound client on the response chain. This is because only the client that chose a given proxy is likely to have the credentials necessary for authentication. However, when multiple proxies are used within the same administrative domain, such as office and regional caching proxies within a large corporate network, it is common for credentials to be generated by the user agent and passed through the hierarchy until consumed. Hence, in such a configuration, it will appear as if Proxy-Authenticate is being forwarded because each proxy will send the same challenge set.

The `proxy-authenticate` header is sent along with a `407 Proxy Authentication Required`.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)