http-type 22.8.0

A comprehensive Rust type library for HTTP operations and concurrent programming. Provides core HTTP types (Request/Response with builder patterns, Method, HttpStatus, HttpVersion, ContentType, FileExtension with MIME mapping, Cookie parsing/building, HttpUrl parsing, WebSocket frame/opcode, protocol upgrade types, stream/task management, panic handling), thread-safe concurrent wrappers (ArcMutex, ArcRwLock, BoxRwLock, RcRwLock), dynamic dispatch types (BoxAny, RcAny, ArcAny with Send/Sync variants), high-performance hash collections (HashMapXxHash3_64, HashSetXxHash3_64), and static lifetime utilities (BoxLeak, Lifetime trait).
Documentation
use super::*;

/// Byte delimiting a quoted HTTP field member.
pub(crate) const HTTP_QUOTED_FIELD_QUOTE: u8 = b'"';

/// Byte escaping the next character inside a quoted HTTP field member.
pub(crate) const HTTP_QUOTED_FIELD_ESCAPE: u8 = b'\\';

/// The diagnostic for a WebSocket read attempted before parser initialization.
pub(crate) const WEBSOCKET_STATE_ERROR: &str = "WebSocket state must be initialized";

/// The complete HTTP/1.1 interim response with no fields or body.
pub(super) const HTTP_CONTINUE_RESPONSE: &[u8] = b"HTTP/1.1 100 Continue\r\n\r\n";

/// The maximum number of reusable header and query entries retained per worker.
pub(crate) const MAX_POOLED_HEADER_ENTRIES: usize = B_128;

/// The maximum retained capacity of a reusable header or query string.
pub(crate) const MAX_POOLED_HEADER_STRING_CAPACITY: usize = 4 * 1024;

/// The maximum retained capacity of a reusable repeated-value list.
pub(crate) const MAX_POOLED_HEADER_VALUE_CAPACITY: usize = B_4;