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

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

    pub const TRANSFER_ENCODING: HeaderName

Specifies the form of encoding used to safely transfer the entity to the client.

`transfer-encoding` is a hop-by-hop header, that is applying to a message between two nodes, not to a resource itself. Each segment of a multi-node connection can use different `transfer-encoding` values. If you want to compress data over the whole connection, use the end-to-end header `content-encoding` header instead.

When present on a response to a `HEAD` request that has no body, it indicates the value that would have applied to the corresponding `GET` message.

# 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`)