v0.34.0_9
This commit is contained in:
1 parent
480c3ec769
commit
8c4cbc583f
5 files changed
+195
-53
No files matched your search
@@ -150,7 +150,7 @@ async fn observe(State(state): State<Arc<App>>, mut request: Request, next: Next
|
||||
.headers()
|
||||
.get(USER_AGENT)
|
||||
.and_then(|value| value.to_str().ok())
|
||||
.map(|value| value.chars().take(512).collect::<String>())
|
||||
.map(|value| log_prefix(value, 512))
|
||||
})
|
||||
.flatten();
|
||||
let (http_version, transport) = match request.version() {
|
||||
|
||||
Reference in new issue
Block a user