actix-web/tests
PeterDing 5ec6eaef1b
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`.
2019-03-02 18:56:57 +08:00
..
cert.pem add rustls 2018-07-30 08:21:12 +03:00
identity.pfx update server ssl tests; upgrade rustls 2018-10-02 13:41:33 -07:00
key.pem Refactor TestServer configuration 2018-03-20 11:23:35 -07:00
test space.binary Decode special characters when handling static files 2019-01-08 10:46:58 +03:00
test.binary Merge and fix PR comments 2018-04-29 14:02:50 +02:00
test.png Merge and fix PR comments 2018-04-29 14:02:50 +02:00
test_client.rs Support to set header names of `ClientRequest` as Camel-Case 2019-03-02 18:56:57 +08:00
test_custom_pipeline.rs fix stable compatibility 2018-10-02 19:42:24 -07:00
test_handlers.rs decode reserved characters when extracting path with configuration (#577) 2018-11-24 16:54:11 +03:00
test_middleware.rs clippy fmt 2018-08-23 09:48:01 -07:00
test_server.rs do not override content-length header 2018-10-08 15:30:59 -07:00
test_ws.rs update actix-net dep 2018-11-08 16:06:23 -08:00