docs(http1): clarify HTTP1 preserve case option
This commit is contained in:
@@ -1050,8 +1050,15 @@ impl Builder {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set whether HTTP/1 connections will write header names as provided
|
/// Set whether to support preserving original header cases.
|
||||||
/// at the socket level.
|
///
|
||||||
|
/// Currently, this will record the original cases received, and store them
|
||||||
|
/// in a private extension on the `Response`. It will also look for and use
|
||||||
|
/// such an extension in any provided `Request`.
|
||||||
|
///
|
||||||
|
/// Since the relevant extension is still private, there is no way to
|
||||||
|
/// interact with the original cases. The only effect this can have now is
|
||||||
|
/// to forward the cases in a proxy-like fashion.
|
||||||
///
|
///
|
||||||
/// Note that this setting does not affect HTTP/2.
|
/// Note that this setting does not affect HTTP/2.
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -626,8 +626,15 @@ impl Builder {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set whether HTTP/1 connections will write header names as provided
|
/// Set whether to support preserving original header cases.
|
||||||
/// at the socket level.
|
///
|
||||||
|
/// Currently, this will record the original cases received, and store them
|
||||||
|
/// in a private extension on the `Response`. It will also look for and use
|
||||||
|
/// such an extension in any provided `Request`.
|
||||||
|
///
|
||||||
|
/// Since the relevant extension is still private, there is no way to
|
||||||
|
/// interact with the original cases. The only effect this can have now is
|
||||||
|
/// to forward the cases in a proxy-like fashion.
|
||||||
///
|
///
|
||||||
/// Note that this setting does not affect HTTP/2.
|
/// Note that this setting does not affect HTTP/2.
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -352,8 +352,15 @@ impl<E> Http<E> {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set whether HTTP/1 connections will write header names as provided
|
/// Set whether to support preserving original header cases.
|
||||||
/// at the socket level.
|
///
|
||||||
|
/// Currently, this will record the original cases received, and store them
|
||||||
|
/// in a private extension on the `Request`. It will also look for and use
|
||||||
|
/// such an extension in any provided `Response`.
|
||||||
|
///
|
||||||
|
/// Since the relevant extension is still private, there is no way to
|
||||||
|
/// interact with the original cases. The only effect this can have now is
|
||||||
|
/// to forward the cases in a proxy-like fashion.
|
||||||
///
|
///
|
||||||
/// Note that this setting does not affect HTTP/2.
|
/// Note that this setting does not affect HTTP/2.
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -289,8 +289,15 @@ impl<I, E> Builder<I, E> {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set whether HTTP/1 connections will write header names as provided
|
/// Set whether to support preserving original header cases.
|
||||||
/// at the socket level.
|
///
|
||||||
|
/// Currently, this will record the original cases received, and store them
|
||||||
|
/// in a private extension on the `Request`. It will also look for and use
|
||||||
|
/// such an extension in any provided `Response`.
|
||||||
|
///
|
||||||
|
/// Since the relevant extension is still private, there is no way to
|
||||||
|
/// interact with the original cases. The only effect this can have now is
|
||||||
|
/// to forward the cases in a proxy-like fashion.
|
||||||
///
|
///
|
||||||
/// Note that this setting does not affect HTTP/2.
|
/// Note that this setting does not affect HTTP/2.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user