1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 10:32:55 +01:00
Commit Graph

114 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
Björn Steinbrink
3e17ad9a4e Remove unneeded single path import
Imports with a single path component are useless.
2020-02-11 16:25:53 +01:00
Yuki Okushi
650470901b Clean up READMEs 2020-01-30 18:39:35 +09:00
Yuki Okushi
d8f3f94ece Clean up metadata 2020-01-30 18:08:20 +09:00
Yuki Okushi
c4c0680a6e Remove unused config 2020-01-30 15:57:38 +09:00
Yuki Okushi
91f6519177 Set up GitHub Actions 2020-01-30 15:57:38 +09:00
Rob Ede
8ab2229032
add new crates to workspace 2020-01-30 02:06:00 +00:00
Rob Ede
cfb436a363
unify {cors,identity,session} readmes 2020-01-30 01:42:01 +00:00
Rob Ede
3cdc0b9d18
fix badges 2020-01-30 01:22:11 +00:00
Rob Ede
aac1158304
merge project metadata 2020-01-30 00:31:25 +00:00
Rob Ede
b4267818de move files into module 2020-01-29 11:42:35 +00:00