mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
docs: fix doc comment for request_summary
Co-authored-by: Derek Argueta <darguetap@gmail.com>
This commit is contained in:
parent
61700443bf
commit
5a4a2883ad
3 changed files with 3 additions and 3 deletions
2
.bleep
2
.bleep
|
@ -1 +1 @@
|
|||
d4fa38fb7c9b12dd533b95a9d0352e8693dafe14
|
||||
ed4f7c51958b688c6bea000c37dc2ba54f2ccc15
|
|
@ -319,7 +319,7 @@ impl HttpSession {
|
|||
.map_or(b"", |h| h.as_bytes())
|
||||
}
|
||||
|
||||
/// Return a string `$METHOD $PATH $HOST`. Mostly for logging and debug purpose
|
||||
/// Return a string `$METHOD $PATH, Host: $HOST`. Mostly for logging and debug purpose
|
||||
pub fn request_summary(&self) -> String {
|
||||
format!(
|
||||
"{} {}, Host: {}",
|
||||
|
|
|
@ -344,7 +344,7 @@ impl HttpSession {
|
|||
Ok(end_stream)
|
||||
}
|
||||
|
||||
/// Return a string `$METHOD $PATH $HOST`. Mostly for logging and debug purpose
|
||||
/// Return a string `$METHOD $PATH, Host: $HOST`. Mostly for logging and debug purpose
|
||||
pub fn request_summary(&self) -> String {
|
||||
format!(
|
||||
"{} {}, Host: {}:{}",
|
||||
|
|
Loading…
Reference in a new issue