Nikolay Kim
df08baf67f
update actix-net dependencies
2019-05-12 08:34:51 -07:00
Nikolay Kim
4066375737
Update CHANGES.md
2019-05-10 14:45:30 -07:00
Nikolai Vazquez
a77b0b054a
Make App::configure
take an FnOnce
( #825 )
2019-05-10 14:44:49 -07:00
Nikolay Kim
a17ff492a1
fix formatting
2019-05-04 22:18:59 -07:00
Nikolay Kim
33b4c05557
add payload stream migration entry
2019-05-04 22:18:02 -07:00
Nikolay Kim
005c055a7f
prepare actix-web release
2019-05-04 20:05:20 -07:00
Nikolay Kim
3d1af19080
prepare actix-http release
2019-05-04 19:51:13 -07:00
Nikolay Kim
fa78da8156
unify route and app data, it allows to provide global extractor config #775
2019-05-04 19:43:49 -07:00
Nikolay Kim
01cfcf3b75
update changes
2019-05-04 08:42:27 -07:00
James
7ef4f5ac0b
Make request headers optional in CORS preflight ( #816 )
2019-05-04 08:41:37 -07:00
Nikolay Kim
fc19ce41c4
Clean up response extensions in response pool #817
2019-05-03 15:26:34 -07:00
Otavio Salvador
6e00eef63a
awc: Fix typo on ResponseError documentation ( #815 )
...
* awc: Fix typo on ResponseError documentation
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* http: Fix typo on ResponseError documentation
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* http: Expand type names for openssl related errors documentation
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2019-05-03 14:30:00 -07:00
Nikolay Kim
337c2febe3
add more tests
2019-05-02 09:49:10 -07:00
Nikolay Kim
f27beab016
fix case for transfer-encoding header name
2019-05-02 09:30:00 -07:00
Max Bo
4f1c6d1bb7
Update MIGRATION.md ( #811 )
2019-05-02 09:26:51 -07:00
Nikolay Kim
6b34909537
Fix NormalizePath middleware impl #806
2019-05-01 12:40:56 -07:00
Douman
87284f0951
Add doctest to verify NormalizePath middleware ( #809 )
2019-05-01 11:47:51 -07:00
Nikolay Kim
24bd5b1344
update readmes
2019-04-29 20:47:21 -07:00
Nikolay Kim
94a0d1a6bc
remove old api doc refs
2019-04-29 18:42:21 -07:00
Nikolay Kim
f4e1205cbb
fix reactor drop panic
2019-04-29 10:14:08 -07:00
Nikolay Kim
d2c1791067
add async handler test with blocking call
2019-04-29 09:45:37 -07:00
Nikolay Kim
f4b4875cb1
Add helper function for executing futures test::block_fn()
2019-04-29 09:34:14 -07:00
Nikolay Kim
29a841529f
Allow to construct Data instances to avoid double Arc for Send + Sync types.
2019-04-29 09:26:12 -07:00
Darin
b51b5b763c
added clarification to docs regarding middleware processing sequence, added delete method to TestRequest ( #799 )
...
* added clarification to docs regarding middleware processing sequnce
* added delete method to TestRequest, doc, and test
2019-04-29 09:14:36 -07:00
Nikolay Kim
8db6b48a76
update version
2019-04-28 09:09:18 -07:00
Nikolay Kim
ffd2c04cd3
Add helper trait UserSession which allows to get session for ServiceRequest and HttpRequest
2019-04-28 09:08:51 -07:00
svartalf
cb158fbe8d
Bumping version to 0.2.0
2019-04-26 21:56:17 +03:00
Justin Kilpatrick
2de26a5906
Use actix-web without default features ( #6 )
2019-04-26 21:42:33 +03:00
Nikolay Kim
70a4c36496
use Error explicitly
2019-04-25 11:14:32 -07:00
Nikolay Kim
cba78e06ae
update changes
2019-04-24 15:42:34 -07:00
Nikolay Kim
3b3dbb4f40
add raw services support
2019-04-24 15:29:15 -07:00
Darin
7300002226
grammar fixes ( #796 )
2019-04-24 13:21:42 -07:00
Nikolay Kim
5426413cb6
update dependencies
2019-04-24 13:00:30 -07:00
Nikolay Kim
2bc937f6c3
prepare release
2019-04-24 12:50:44 -07:00
Maciej Piechotka
60fa0d5427
Store visit and login timestamp in the identity cookie ( #502 )
...
This allows to verify time of login or last visit and therfore limiting
the danger of leaked cookies.
2019-04-24 12:49:56 -07:00
Nikolay Kim
f429d3319f
Read until eof for http/1.0 responses #771
2019-04-24 11:57:40 -07:00
Nikolay Kim
2e19f572ee
add tests for camel case headers rendering
2019-04-24 11:27:57 -07:00
Peter Ding
64f603b076
Support to set header names of ClientRequest
as Camel-Case ( #713 )
...
* Support to set header names of `ClientRequest` as Camel-Case
This is the case for supporting to request for servers which don't
perfectly implement the `RFC 7230`. It is important for an app
which uses `ClientRequest` as core part.
* Add field `upper_camel_case_headers` to `ClientRequest`.
* Add function `set_upper_camel_case_headers` to `ClientRequest`
and `ClientRequestBuilder` to set field `upper_camel_case_headers`.
* Add trait `client::writer::UpperCamelCaseHeader` for
`http::header::HeaderName`, let it can be converted to Camel-Case
then writed to buffer.
* Add test `test_client::test_upper_camel_case_headers`.
* Support upper Camel-Case headers
* [actix-http] Add field `upper_camel_case_headers` for `RequestHead`
* [actix-http] Add code for `MessageType` to support upper camel case
* [awc] Add functions for `ClientRequest` to set upper camel case
* Use `Flags::CAMEL_CASE` for upper camel case of headers
2019-04-24 10:48:49 -07:00
Nikolay Kim
679d1cd513
allow to override responder's status code and headers
2019-04-24 10:25:46 -07:00
Nikolay Kim
42644dac3f
prepare actix-http-test release
2019-04-24 07:31:33 -07:00
Nikolay Kim
898ef57080
Fix async web::Data factory handling
2019-04-23 21:21:49 -07:00
Nikolay Kim
9702b2d88e
add client h2 reuse test
2019-04-23 15:06:30 -07:00
Nikolay Kim
d2b0afd859
Fix http client pool and wait queue management
2019-04-23 14:57:03 -07:00
Nikolay Kim
5f6a1a8249
update version
2019-04-23 09:45:39 -07:00
Nikolay Kim
5d531989e7
Fix BorrowMutError panic in client connector #793
2019-04-23 09:42:19 -07:00
Nikolay Kim
3532602299
Added support for remainder match (i.e /path/{tail}*)
2019-04-22 21:22:17 -07:00
Nikolay Kim
48bee55087
.to_async() handler can return Responder type #792
2019-04-22 14:22:08 -07:00
Nikolay Kim
d00c9bb844
do not consume boundary
2019-04-21 16:14:09 -07:00
Nikolay Kim
895e409d57
Optimize multipart handling #634 , #769
2019-04-21 15:41:01 -07:00
Nikolay Kim
f0789aad05
update dep versions
2019-04-21 09:03:46 -07:00