We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d95b421 commit c555ab1Copy full SHA for c555ab1
src/server/decode.rs
@@ -118,9 +118,7 @@ fn set_url_and_port_from_host_header(req: &mut Request) -> http_types::Result<()
118
119
if !req.url().cannot_be_a_base() {
120
if let Some(colon) = host.find(":") {
121
- println!("AAAA");
122
req.url_mut().set_host(Some(&host[0..colon]))?;
123
124
req.url_mut()
125
.set_port(host[colon + 1..].parse().ok())
126
.unwrap();
0 commit comments