mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 15:14:35 +01:00
remove removal of host header
This commit is contained in:
@@ -60,8 +60,6 @@ impl HttpHandler for ProxyHandler {
|
||||
let uri = format!("https://{}{}", SERVER.lock().unwrap(), uri_path).parse::<Uri>().unwrap();
|
||||
|
||||
*request.uri_mut() = uri;
|
||||
|
||||
request.headers_mut().remove(http::header::HOST);
|
||||
}
|
||||
|
||||
println!("New request: {}", &request.uri());
|
||||
|
||||
Reference in New Issue
Block a user