micro_http/protocol/response.rs
1//! HTTP response header handling implementation.
2//!
3//! This module provides type definitions for HTTP response headers.
4//! It uses the standard `http::Response` type with an empty body placeholder
5//! to represent response headers before the actual response body is attached.
6
7use http::Response;
8
9/// Type alias for HTTP response headers.
10///
11/// This type represents the header portion of an HTTP response, using
12/// `http::Response<()>` with an empty body placeholder. The actual response
13/// body can be attached later using the response builder pattern.
14pub type ResponseHead = Response<()>;