cquintana-verbio
98243db9f1
Print unconfigured Data<T>
type when attempting extraction ( #1743 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-10-20 17:35:34 +01:00
ghizzo01
f92742bdac
Bump base64 to 0.13 ( #1744 )
2020-10-19 18:24:22 +01:00
Rob Ede
e563025b16
always construct shortslice using debug checked new constructor ( #1741 )
2020-10-19 12:51:30 +01:00
Matt Gathu
cfd5b381f1
Implement Logger middleware regex exclude pattern ( #1723 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-10-19 07:18:16 +01:00
Yuki Okushi
2f84914146
Skip some tests that cause ICE on nightly ( #1740 )
2020-10-19 11:52:05 +09:00
Jonas Platte
d765e9099d
Fix clippy::rc_buffer ( #1728 )
2020-10-10 09:26:05 +09:00
Rob Ede
34b23f31c9
prepare files release 0.4.0
2020-10-06 22:08:33 +01:00
Rob Ede
26c1a901d9
add files preference for utf8 text responses ( #1714 )
2020-10-06 21:56:28 +01:00
Yuki Okushi
c2c71cc626
Fix/suppress clippy warnings ( #1720 )
2020-10-01 18:19:09 +09:00
Rob Ede
aa11231ee5
prepare web release 3.1.0 ( #1716 )
2020-09-30 11:07:35 +01:00
PeterUlb
b5812b15f0
Remove Sized Bound for web::Data ( #1712 )
2020-09-29 22:44:12 +01:00
Matt Gathu
b4e02fe29a
Fix cyclic references in ResourceMap ( #1708 )
2020-09-25 17:42:49 +01:00
Matt Gathu
37c76a39ab
Fix Multipart consuming payload before header checks ( #1704 )
...
* Fix Multipart consuming payload before header checks
What
--
Split up logic in the constructor into two functions:
- **from_boundary:** build Multipart from boundary and stream
- **from_error:** build Multipart for MultipartError
Also we make the `boundary`, `from_boundary`, `from_error` methods public within the crate so that we can use them in the extractor.
The extractor is then able to perform header checks and only consume the
payload if the checks pass.
* Add tests
* Add payload consumption test
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-25 14:50:37 +01:00
LIU An (劉安)
60e7e52276
Add TrailingSlash::MergeOnly behavior ( #1695 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-25 12:50:59 +01:00
Rob Ede
c53e9468bc
prepare codegen 0.4.0 release ( #1702 )
2020-09-24 23:54:01 +01:00
Arniu Tseng
162121bf8d
Unify route macros ( #1705 )
2020-09-22 22:42:51 +01:00
Rob Ede
f7bcad9567
split up files lib ( #1685 )
2020-09-20 23:18:25 +01:00
Igor Aleksanov
f9e3f78e45
eemove non-relevant comment from actix-http README.md ( #1701 )
2020-09-20 17:21:53 +01:00
Silentdoer
1596893ef7
update actix-http dev-dependencies ( #1696 )
...
Co-authored-by: luojinming <luojm@hxsmart.com>
2020-09-19 23:20:34 +09:00
Lokathor
2a2474ca09
Update tinyvec
to 1.0 ( #1689 )
2020-09-17 18:09:42 +01:00
Matt Gathu
509b2e6eec
Provide attribute macro for multiple HTTP methods ( #1674 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-16 22:37:41 +01:00
Rob Ede
d707704556
prepare web release 3.0.2 ( #1681 )
2020-09-15 13:14:14 +01:00
Aleksandrov Vladimir
a429ee6646
Add possibility to set address for test_server ( #1645 )
2020-09-15 12:09:16 +01:00
Rob Ede
7f8073233a
fix trimming to inaccessible root path ( #1678 )
2020-09-15 11:32:31 +01:00
Rob Ede
4b4c9d1b93
update migration guide
...
closes #1680
2020-09-14 22:26:03 +01:00
Rob Ede
3fde3be3d8
add trybuild tests to routing codegen ( #1677 )
2020-09-13 16:31:08 +01:00
Rob Ede
f861508789
prepare web release 3.0.1 ( #1676 )
2020-09-13 03:24:44 +01:00
Damian Lesiuk
a4546f02d2
make TrailingSlash enum accessible ( #1673 )
...
Co-authored-by: Damian Lesiuk <lesiuk@sabre.com>
2020-09-13 00:55:39 +01:00
Rob Ede
64a2c13cdf
the big three point oh ( #1668 )
2020-09-11 13:50:10 +01:00
Rob Ede
bf53fe5a22
bump actix dependency to v0.10 ( #1666 )
2020-09-11 12:09:52 +01:00
Rob Ede
cf5138e740
fix clippy async_yields_async lints ( #1667 )
2020-09-11 11:29:17 +01:00
Igor Aleksanov
121075c1ef
awc: Rename Client::build to Client::builder ( #1665 )
2020-09-11 09:24:39 +01:00
Robert Gabriel Jakabosky
22089aff87
Improve json, form and query extractor config docs ( #1661 )
2020-09-10 15:40:20 +01:00
Rob Ede
7787638f26
fix CI clippy warnings ( #1664 )
2020-09-10 14:46:35 +01:00
Rob Ede
2f6e9738c4
prepare multipart and actors releases ( #1663 )
2020-09-10 12:54:27 +01:00
Mufeed VH
e39d166a17
Fix examples hyperlink in README ( #1660 )
2020-09-10 00:12:50 +01:00
Rob Ede
059d1671d7
prepare release beta 4 ( #1659 )
2020-09-09 22:14:11 +01:00
Igor Aleksanov
3a27580ebe
awc: improve module documentation ( #1656 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-09 14:24:12 +01:00
Rob Ede
9d0534999d
bump connect and tls versions ( #1655 )
2020-09-09 09:20:54 +01:00
Igor Aleksanov
c54d73e0bb
Improve awc websocket docs ( #1654 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-07 12:04:54 +01:00
Rob Ede
9a9d4b182e
document all remaining unsafe usages ( #1642 )
...
adds some debug assertions where appropriate
2020-09-03 10:00:24 +01:00
Rob Ede
4e321595bc
extract more config types from Data<T> as well ( #1641 )
2020-09-02 22:12:07 +01:00
Matt Kantor
01cbef700f
Fix a small typo in a doc comment. ( #1649 )
2020-08-28 22:16:41 +01:00
Rob Ede
8497b5f490
integrate with updated actix-{codec, utils} ( #1634 )
2020-08-24 10:13:35 +01:00
LJ
75d86a6beb
Configurable trailing slash behaviour for NormalizePath ( #1639 )
...
Co-authored-by: ljoonal <ljoona@ljoonal.xyz>
2020-08-19 12:21:52 +01:00
Yuki Okushi
3892a95c11
Fix actix-web version to publish
2020-08-18 01:16:18 +09:00
Yuki Okushi
5802eb797f
awc,web: Bump up to next beta releases ( #1638 )
2020-08-18 01:08:40 +09:00
Yuki Okushi
ff2ca0f420
Update rustls to 0.18 ( #1637 )
2020-08-18 00:28:39 +09:00
Yuki Okushi
59ad1738e9
web: Bump up to 3.0.0-beta.2 ( #1636 )
2020-08-17 11:32:38 +01:00
Yuki Okushi
aa2bd6fbfb
http: Bump up to 2.0.0-beta.3 ( #1630 )
2020-08-14 19:42:14 +09:00