add streaming body to requests and responses #3
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ impl ServerConn {
|
||||||
|
|
||||||
let handler_opt = {
|
let handler_opt = {
|
||||||
let endpoints = self.netapp.endpoints.read().unwrap();
|
let endpoints = self.netapp.endpoints.read().unwrap();
|
||||||
endpoints.get(&path[..]).map(|e| e.clone_endpoint())
|
endpoints.get(&path).map(|e| e.clone_endpoint())
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Some(handler) = handler_opt {
|
if let Some(handler) = handler_opt {
|
||||||
|
|
Loading…
Reference in a new issue