Function fastly::handle::client_original_header_names

source ·
pub fn client_original_header_names(
    buf_size: usize
) -> impl Iterator<Item = Result<String, BufferSizeError>>
Expand description

Returns the client request’s header names exactly as they were originally received.

This includes both the original header name characters’ cases, as well as the original order of the received headers.

If there is a header name that is longer than the provided buffer, this will return a BufferSizeError; you can retry with a larger buffer size if necessary.