1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-25 17:02:44 +01:00
Commit Graph

2046 Commits

Author SHA1 Message Date
Nikolay Kim
cf54be2f17 hide new server api 2018-08-23 09:39:11 -07:00
Nikolay Kim
f39b520a2d
Merge pull request #478 from fzgregor/master
Made extensions constructor public
2018-08-23 09:34:47 -07:00
Nikolay Kim
89f414477c
Merge branch 'master' into master 2018-08-23 09:34:34 -07:00
Douman
986f19af86
Revert back to serde_urlencoded dependecy (#479) 2018-08-21 22:23:17 +03:00
Franz Gregor
e680541e10 Made extensions constructor public 2018-08-18 19:32:28 +02:00
Douman
56bc900a82
Set minimum rustls version that fixes corruption (#474) 2018-08-17 19:53:16 +03:00
Kornel
bdc9a8bb07 Optionally support tokio-uds's UnixStream as IoStream (#472) 2018-08-17 19:04:15 +03:00
Nikolay Kim
8fe30a5b66
Merge pull request #473 from kornelski/usetest
Fix tests on Unix
2018-08-17 07:20:47 -07:00
Kornel Lesiński
a8405d0686 Fix tests on Unix 2018-08-17 13:13:48 +01:00
Nikolay Kim
eb1e9a785f allow to use fn with multiple arguments with .with()/.with_async() 2018-08-16 20:29:06 -07:00
Douman
248bd388ca
Improve HTTP server docs (#470) 2018-08-16 16:11:15 +03:00
Douman
9f5641c85b
Add mention of reworked Content-Disposition 2018-08-13 17:37:00 +03:00
Gowee
d9c7cd96a6 Rework Content-Disposition parsing totally (#461) 2018-08-13 17:34:05 +03:00
Nikolay Kim
bf7779a9a3 add TestRequest::run_async_result helper method 2018-08-09 18:58:14 -07:00
Nikolay Kim
cc3fbd27e0 better ergonomics 2018-08-09 17:25:23 -07:00
Nikolay Kim
26629aafa5 explicit use 2018-08-09 13:41:13 -07:00
Nikolay Kim
2ab7dbadce better ergonomics for Server::service() method 2018-08-09 13:38:10 -07:00
Nikolay Kim
2e8d67e2ae upgrade native-tls package 2018-08-09 13:08:59 -07:00
Nikolay Kim
43b6828ab5 Merge branch 'master' of https://github.com/actix/actix-web 2018-08-09 11:52:45 -07:00
Nikolay Kim
e4ce6dfbdf refactor workers management 2018-08-09 11:52:32 -07:00
Nikolay Kim
6b9fa2c3d9
Merge pull request #458 from davidMcneil/master
Add json2 HttpResponseBuilder method
2018-08-09 02:10:14 -07:00
Douman
5713d93158
Merge branch 'master' into master 2018-08-09 08:13:22 +03:00
Nikolay Kim
cfe4829a56 add TestRequest::execute() helper method 2018-08-08 16:13:45 -07:00
Nikolay Kim
b69774db61 fix attr name 2018-08-08 14:23:16 -07:00
Nikolay Kim
542782f28a add HttpRequest::drop_state() 2018-08-08 13:57:13 -07:00
David McNeil
7c8dc4c201 Add json2 tests 2018-08-08 12:17:19 -06:00
David McNeil
7a11c2eac1 Add json2 HttpResponseBuilder method 2018-08-08 11:11:15 -06:00
Nikolay Kim
8eb9eb4247 flush io on complete 2018-08-08 09:12:32 -07:00
Nikolay Kim
992f7a11b3 remove debug println 2018-08-07 22:40:09 -07:00
Nikolay Kim
30769e3072 fix http/2 error handling 2018-08-07 20:48:25 -07:00
Nikolay Kim
57f991280c fix protocol order for rustls acceptor 2018-08-07 13:53:24 -07:00
Nikolay Kim
85acc3f8df deprecate HttpServer::no_http2(), update changes 2018-08-07 12:49:40 -07:00
Nikolay Kim
5bd82d4f03 update changes 2018-08-07 12:00:51 -07:00
Nikolay Kim
58a079bd10 include content-length to error response 2018-08-07 11:56:39 -07:00
Nikolay Kim
16546a707f
Merge pull request #453 from DoumanAsh/reserve_status_line_for_server_error
Reserve enough space for ServerError task to write status line
2018-08-07 11:48:55 -07:00
Douman
86a5afb5ca Reserve enough space for ServerError task to write status line 2018-08-07 17:34:24 +03:00
Douman
9c80d3aa77
Write non-80 port in HOST of client's request (#451) 2018-08-07 10:01:29 +03:00
Erik Desjardins
954f1a0b0f impl FromRequest for () (#449) 2018-08-06 10:44:08 +03:00
Nikolay Kim
f4fba5f481
Merge pull request #447 from DoumanAsh/multiple_set_cookies
Correct setting cookies in HTTP2 writer
2018-08-04 08:58:12 -07:00
Nikolay Kim
995f819eae
Merge branch 'master' into multiple_set_cookies 2018-08-04 08:58:00 -07:00
Nikolay Kim
85e7548088 fix adding multiple response headers for http/2 #446 2018-08-04 08:56:33 -07:00
Douman
900fd5a98e Correct settings headers for HTTP2
Add test to verify number of Set-Cookies
2018-08-04 18:05:41 +03:00
Nikolay Kim
84b27db218 fix no_http2 flag 2018-08-03 19:40:43 -07:00
Nikolay Kim
ac9180ac46 simplify channel impl 2018-08-03 19:32:46 -07:00
Nikolay Kim
e34b5c08ba allow to pass extra information from acceptor to application level 2018-08-03 19:24:53 -07:00
Nikolay Kim
f3f1e04853 refactor ssl support 2018-08-03 16:09:46 -07:00
Nikolay Kim
036cf5e867 update changes 2018-08-03 08:20:59 -07:00
Jan Michael Auer
e61ef7dee4 Use zlib instead of deflate for content encoding (#442) 2018-08-03 14:56:26 +02:00
Mathieu Amiot
9a10d8aa7a Fixed headers' formating for CORS Middleware Access-Control-Expose-Headers header value to HTTP/1.1 & HTTP/2 spec-compliant format (#436) 2018-08-03 15:03:11 +03:00
Mathieu Amiot
f8e5d7c6c1 Fixed broken build on wrong variable usage (#440) 2018-08-03 14:11:51 +03:00