1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 21:39:26 +00:00
Commit graph

3619 commits

Author SHA1 Message Date
Ibraheem Ahmed cbda928a33
Rename factory to handler (#1852) 2020-12-26 21:46:19 +00:00
fakeshadow 1032f04ded
remove unused actix_http::h1::OneRequest (#1853) 2020-12-26 12:46:36 +00:00
Rob Ede b373e1370d
prepare files 0.5.0 release 2020-12-26 04:05:45 +00:00
Edoardo Morandi 404b5a7709
Add optional support for hidden files/directories (#1811) 2020-12-26 03:36:15 +00:00
fakeshadow ecf08d5156
Remove boxed future from h1 Dispatcher (#1836) 2020-12-24 19:15:17 +00:00
fakeshadow 87655b3028
reduce one clone on Arc. (#1850) 2020-12-23 23:58:25 +00:00
fakeshadow 3a192400a6
Simplify handler (#1843) 2020-12-23 15:47:07 +00:00
Rob Ede 2a7f2c1d59
dispatcher internals testing (#1840) 2020-12-23 01:28:17 +00:00
Rob Ede 05f104c240
improve NormalizePath docs (#1839) 2020-12-23 00:19:20 +00:00
Logan Magee 4dccd092f3
Bump rand from 0.7.x to 0.8.x (#1845) 2020-12-22 23:45:31 +00:00
fakeshadow 95ccf1c9bc
replace actix_utils::oneshot with futures_channle::oneshot (#1844) 2020-12-21 16:42:20 +00:00
fakeshadow 6cbf27508a
simplify ExtractService's return type (#1842) 2020-12-20 02:20:29 +00:00
fakeshadow 79de04d862
optimise Extract service (#1841) 2020-12-19 16:33:34 +00:00
fakeshadow a4dbaa8ed1
remove boxed future in DefaultHeaders middleware (#1838) 2020-12-18 23:08:59 +00:00
Yuki Okushi c7b4c6edfa
Disable PR comment from codecov 2020-12-17 21:38:52 +09:00
fakeshadow 2a5215c1d6
Remove boxed future from HttpMessage (#1834) 2020-12-17 11:40:49 +00:00
fakeshadow 97f615c245
remove boxed futures on Json extract type (#1832) 2020-12-16 23:34:33 +00:00
Rob Ede 1a361273e7
optimize bytes and string payload extractors (#1831) 2020-12-16 22:40:26 +00:00
fakeshadow d7ce648445
remove boxed future for Option<T> and Result<T, E> extract type (#1829)
* remove boxed future for Option<T> and Result<T, E> extract type

* use ready macro

* fix fmt
2020-12-16 18:34:10 +00:00
Aravinth Manivannan fabc68659b
Intradoc links conversion (#1827)
* switching to nightly for intra-doc links

* actix-files intra-doc conversion

* more specific Result

* intradoc conversion complete

* rm blank comments and readme doc link fixes

* macros and broken links
2020-12-13 13:28:39 +00:00
Juan Aguilar 542db82282
Simplify wake up of task (#1826) 2020-12-12 20:07:06 +00:00
Rob Ede ae63eb8bb2
fix clippy warnings (#1806)
* fix clippy warnings

* prevent CI fail status caused by codecov
2020-12-09 11:22:19 +00:00
fakeshadow 7a3776b770
remove two unused generics on BoxedRouteFuture types. (#1820) 2020-12-09 10:47:59 +00:00
fakeshadow ff79c33fd4
remove a box (#1814) 2020-12-06 11:42:15 +00:00
Petar Dambovaliev b75a9b7a20
add error to message in test helper func (#1812) 2020-12-05 04:57:56 +09:00
Arniu Tseng d0c6ca7671
test-server => actix-http-test (#1807) 2020-12-02 17:23:30 +00:00
Rob Ede 24d525d978
prepare web 3.3.2 release 2020-12-01 22:22:46 +00:00
Joshua Parkin 1f70ef155d
Fix match_pattern() returning None for scope with resource of empty path (#1798)
* fix match_pattern function not returning pattern where scope has resource of path ""

* remove print in test

* make comparison on existing else if block

* add fix to changelog
2020-12-01 13:39:41 +00:00
Maciej Hirsz 7981e0068a
Remove a panic in normalize middleware (#1762)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-12-01 10:22:15 +09:00
Linus Färnstrand 32d59ca904
Upgrade socket2 dependency (#1803)
Upgrades to a version not making invalid assumptions about
the memory layout of std::net::SocketAddr
2020-12-01 04:18:02 +09:00
Rob Ede ea8bf36104
update web and awc changelogs 2020-11-29 16:35:35 +00:00
Rob Ede 0b5b463cfa
prepare web and awc releases
closes #1799
2020-11-29 16:33:45 +00:00
Rob Ede fe6ad816cc
update dotgraphs 2020-11-25 00:54:00 +00:00
Rob Ede e72b787ba7
prepare actix-web and actix-http-test releases 2020-11-25 00:53:48 +00:00
Rob Ede efc317d3b0
prepare actix-http and awc releases 2020-11-25 00:07:56 +00:00
Rob Ede 31057becca
prepare actix-files release 0.4.1 2020-11-24 20:33:23 +00:00
Rob Ede f1a9b45437
improve docs for Files::new 2020-11-24 20:23:09 +00:00
Rob Ede 5af46775b8
refactor quality and use TryFrom instead of custom trait (#1797) 2020-11-24 11:37:05 +00:00
Rob Ede 70f4747a23
add method for getting accept type preference (#1793) 2020-11-24 10:08:57 +00:00
Rob Ede 2f11ef089b
fix rustdoc uploads 2020-11-24 00:29:13 +00:00
Rob Ede 4100c50c70
add either extractor (#1788) 2020-11-20 18:02:41 +00:00
Aravinth Manivannan a929209967
actix-files intra-doc migration (#1785) 2020-11-10 23:54:38 +00:00
Aravinth 49e945c88f
switching to nightly for intra-doc links (#1783) 2020-11-09 14:01:36 +00:00
Pouya Mobasher Behrouz 9b42333fac
Fix typo in Query extractor docs (#1777) 2020-11-06 13:34:42 +00:00
Jonas Platte e5b86d189c
Fix typo in request_data.rs (#1774) 2020-11-05 17:46:17 +00:00
Yuki Okushi 4bfd5c2781
Upgrade serde_urlencoded to 0.7 (#1773) 2020-11-06 01:36:15 +09:00
fakeshadow 9b6a089b36
fix awc doc example (#1772)
* fix awc readme example

Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-11-05 06:20:01 +08:00
Rob Ede ceac97bb8d
Update config.yml 2020-11-04 15:08:12 +00:00
Rob Ede 61b65aa64a
add common 1xx http response builders (#1768)
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-11-02 18:23:18 +09:00
Sebastian Mayr 5468c3c410
Drop content length headers from 101 responses (#1767)
Co-authored-by: Sebastian Mayr <smayr@atlassian.com>
2020-11-02 17:44:14 +09:00