mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 06:39:22 +02:00
add response content encoding
This commit is contained in:
@ -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>
|
||||
{
|
||||
|
Reference in New Issue
Block a user