Commit Graph

3631 Commits

Author SHA1 Message Date
Rob Ede dca157abbc
Merge remote-tracking branch 'origin/master' into header-from-request 2021-04-01 15:27:19 +01:00
Rob Ede c8ed8dd1a4
migrate to -utils beta 4 (#2127) 2021-04-01 15:26:13 +01:00
Rob Ede a6964eed9b
Merge remote-tracking branch 'origin/master' into header-from-request 2021-04-01 15:25:46 +01:00
Michał Pokrywka a807d33600
added TestServer::client_headers (#2097)
Co-authored-by: fakeshadow <24548779@qq.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-01 06:40:10 +01:00
fakeshadow 1f1be6fd3d
add Client::headers (#2114) 2021-03-31 11:43:56 +01:00
fakeshadow c49fe79207
Simplify lifetime annotation in HttpServiceBuilder. Simplify PlStream (#2129) 2021-03-30 15:46:09 +01:00
Rob Ede f66774e30b
remove `From<OffsetDateTime>` impl from HttpDate
fully removes time crate from public api of -http
2021-03-30 03:32:22 +01:00
fakeshadow 1281a748d0
merge H1ServiceHandler requests into HttpServiceHandler (#2126) 2021-03-30 03:06:16 +01:00
ibraheemdev 26875ccb3c Merge branch 'header-from-request' of github.com:ibraheemdev/actix-web into header-from-request 2021-03-29 09:38:25 -04:00
ibraheemdev 79a4dcee68 Merge branch 'master' of https://github.com/actix/actix-web into header-from-request 2021-03-29 09:38:02 -04:00
ibraheemdev b2ba939028 fix header extractor tests 2021-03-29 09:37:36 -04:00
ibraheemdev b45e869d1d merge branch master 2021-03-29 09:30:24 -04:00
Ibraheem Ahmed 5eb3c1c7cb
Merge branch 'master' into header-from-request 2021-03-29 09:29:46 -04:00
ibraheemdev d61ee3382b move some shared headers to -web 2021-03-29 09:24:41 -04:00
fakeshadow 222acfd070
Fix build for next actix-tls-beta release (#2122) 2021-03-29 13:45:48 +01:00
Rob Ede 980ecc5f07
fix openssl windows ci 2021-03-29 13:01:37 +01:00
Rob Ede e8ce73b496
update dep docs 2021-03-29 11:52:59 +01:00
Daniel Egger f954a30c34
Fix typo in CHANGES.md (#2124) 2021-03-29 10:18:05 +01:00
fakeshadow 60f9cfbb2a
Refactor actix_http::h2::service module. Reduce loc. (#2118) 2021-03-26 18:24:51 +00:00
fakeshadow 6822bf2f58
Refactor actix_http::h1::service (#2117) 2021-03-26 16:15:04 +00:00
fakeshadow 2f7f1fa97a
fix broken pipe for h2 when client is instantly dropped (#2113) 2021-03-26 00:05:31 +00:00
fakeshadow 8c2ce2dedb
fix awc compress feature (#2116) 2021-03-25 22:47:37 +00:00
ibraheemdev aa6deb1909 move header parsing utils into -http 2021-03-25 14:39:07 -04:00
ibraheemdev 3ccc28611d refactor awc testresponse to use intoheaderpair 2021-03-25 13:35:36 -04:00
ibraheemdev e06d42cf40 simplify tests 2021-03-25 13:22:59 -04:00
Rob Ede 3188ef5731
don't use rust annotation on code doc blocks 2021-03-25 08:45:52 +00:00
ibraheemdev 9e14f5d976 update changelog entry 2021-03-24 09:54:27 -04:00
ibraheemdev c80ee8248b add changelog entry 2021-03-24 09:51:54 -04:00
ibraheemdev 7572013fa3 add tests for header extractor 2021-03-24 09:45:40 -04:00
Ibraheem Ahmed 4eb5373bee
Merge branch 'master' into header-from-request 2021-03-24 09:45:08 -04:00
fakeshadow 9704beddf8
Relax MessageBody limit to 2048kb (#2110)
* relax MessageBody limit to 2048kb

* fix clippy

* Update awc/src/response.rs

Co-authored-by: Rob Ede <robjtede@icloud.com>

* fix default body limit

Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-03-24 04:44:03 -07:00
Ibraheem Ahmed 1be54efbeb
Simplify service factory macro (#2108) 2021-03-23 13:42:46 +00:00
ibraheemdev e6a7cfa1f5 add docs for header extractor 2021-03-23 09:31:47 -04:00
ibraheemdev 07d64f81c0 fix failing doc tests 2021-03-23 09:14:16 -04:00
ibraheemdev ca71b8ce59 header extractor 2021-03-21 11:56:05 -04:00
ibraheemdev db2b062c13 move common headers to actix-web/http 2021-03-21 11:40:03 -04:00
fakeshadow 746d983849
handle header error with CustomResponder (#2093) 2021-03-20 05:18:06 +00:00
ibraheemdev 303b718c62 fix failing tests 2021-03-19 20:09:35 -04:00
ibraheemdev ed33fcc0f7 move common headers from actix-http to actix-web 2021-03-19 19:17:38 -04:00
Ibraheem Ahmed 8d9de76826
Simplify handler factory macro (#2086) 2021-03-19 16:30:53 +00:00
ibraheemdev ec7cf44371 implement FromRequest for headers 2021-03-19 10:41:52 -04:00
Thomas de Zeeuw 9488757c29
Update to socket2 v0.4 (#2092) 2021-03-19 12:17:06 +00:00
fakeshadow 351286486c
fix clippy warning on nightly (#2088)
* fix clippy warning on nightly
2021-03-19 19:25:35 +08:00
Ibraheem Ahmed 78fcd0237a
Format extract macro (#2087) 2021-03-19 04:08:23 +00:00
Rob Ede 81942d31d6
fix new dyn trait lint 2021-03-19 02:03:09 +00:00
fakeshadow b75b5114c3
refactor actix_http connection types and connector services (#2081) 2021-03-18 17:53:22 +00:00
obayemi abcb444dd9
fix routes in Path documentation (#2084) 2021-03-18 13:21:44 +00:00
Rob Ede 983b6904a7
unvendor openssl 2021-03-17 00:38:54 +00:00
Rob Ede 3dc2d145ef
import some traits as _ 2021-03-17 00:38:54 +00:00
fakeshadow c8f6d37290
rename client io trait. reduce duplicate code (#2079) 2021-03-16 16:31:14 +00:00