1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Yuki Okushi
10fe10c9c1
httpauth: Minimize futures dependency 2020-05-21 17:23:59 +09: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
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