13 lines
334 B
Rust
13 lines
334 B
Rust
// It's easier if the server can stream its response body
|
|
// back to the relay un-changed inside its request body
|
|
// So we wrap the server's actual response head
|
|
// (status code, headers, etc.) in this one header field.
|
|
|
|
pub const PTTH_MAGIC_HEADER: &str = "X-PTTH-2LJYXWC4";
|
|
|
|
pub mod relay;
|
|
pub mod server;
|
|
|
|
#[cfg (test)]
|
|
mod tests;
|