1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 18:34:36 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
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
Yuki Okushi
923cb7bcd2
Bump up MSRV to 1.40.0 2020-05-17 11:34:00 +09:00
Yuki Okushi
92c4230550
Update the base64 dependency to 0.12 2020-04-03 17:01:36 +09:00
Yuki Okushi
e245b1cffe Prepare for new release 2020-02-19 09:31:51 +09:00
Rob Ede
aac1158304
merge project metadata 2020-01-30 00:31:25 +00:00