mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-05 05:47:40 +03:00
add response content encoding
This commit is contained in:
parent
76b8104f52
commit
e558414867
9 changed files with 635 additions and 361 deletions
|
@ -30,7 +30,7 @@ fn index_async(req: &mut HttpRequest, _payload: Payload, state: &()) -> Once<act
|
|||
.into()))
|
||||
}
|
||||
|
||||
/// handle with path parameters like `/name/{name}/`
|
||||
/// handle with path parameters like `/user/{name}/`
|
||||
fn with_param(req: &mut HttpRequest, _payload: Payload, state: &())
|
||||
-> HandlerResult<HttpResponse>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue