1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-01-22 23:05:56 +01:00
Adam Chalmers a50f1db473 Bugfix: AuthenticationError should set status_code
I noticed that my `AuthenticationError`'s `status_code` field was 401, but when I ran `.as_response_error()` the `ResponseError`'s code was 500 (the default value). It's because impl ResponseError for AuthenticationError doesn't define the `status_code()` trait method. Merely setting the status code in `error_response` isn't enough, it seems. I added a unit test for this case too.
2020-05-19 07:34:53 -05:00
2020-05-17 11:34:00 +09:00
2020-05-17 11:34:00 +09:00
2020-05-17 11:34:00 +09:00
2020-05-17 11:34:00 +09:00
2020-05-17 11:34:00 +09:00
2020-01-30 00:31:25 +00:00
2020-01-30 00:31:25 +00:00
2020-04-13 16:14:19 +03:00
2020-03-18 06:34:32 +09:00
2020-01-30 00:31:25 +00:00
2020-01-30 01:50:18 +00:00
2020-01-30 18:39:35 +09:00
2020-01-30 00:31:25 +00:00

actix-extras

Join the chat at https://gitter.im/actix/actixbuild status

A collection of additional crates supporting the actix and actix-web frameworks.

Crates

Crate
actix-cors crates.io Documentation Cross-origin resource sharing (CORS) for actix-web applications.
actix-identity crates.io Documentation Identity service for actix-web framework.
actix-protobuf crates.io Documentation Protobuf support for actix-web framework.
actix-redis crates.io Documentation Redis integration for actix framework.
actix-session crates.io Documentation Session for actix-web framework.
actix-web-httpauth crates.io Documentation HTTP authentication schemes for actix-web.
Description
No description provided
Readme 30 MiB
Languages
Rust 98.6%
Just 0.9%
HTML 0.5%