1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-23 11:58:19 +01:00
Commit Graph

4481 Commits

Author SHA1 Message Date
Nikolay Kim
22c776f46e Fix StaticFiles does not support percent encoded paths #177 2018-04-13 10:13:12 -07:00
Nikolay Kim
c0976bfa17 fix test 2018-04-12 21:28:17 -07:00
Nikolay Kim
5e9ec4299c fix workspace links 2018-04-12 20:52:30 -07:00
Nikolay Kim
e05aba65de examples moved to separate repo 2018-04-12 20:31:58 -07:00
Nikolay Kim
c5b18c6d30 prepare release 2018-04-12 16:03:22 -07:00
Nikolay Kim
94c5bb5cdd add helper method for returning inner value 2018-04-12 15:55:15 -07:00
Nikolay Kim
2ca0ea70c4 use one default cpu pool for StaticFiles #174 2018-04-12 15:50:20 -07:00
Nikolay Kim
0b01884fca add timeouts stats to client connector 2018-04-12 13:08:13 -07:00
Nikolay Kim
83168731fc update user guide content compression section 2018-04-12 09:54:35 -07:00
Nikolay Kim
7295846426
Merge pull request #173 from jannic/pr
fix end-of-stream handling in parse_payload
2018-04-12 09:30:26 -07:00
Jan Niehusmann
72bc1546c4 fix end-of-stream handling in parse_payload
parse_payload can be called with a pre-filled buf.

In this case, it's totaly fine for read_from_io to return
sync::Ready(0) while buf is not empty. This is not an
PayloadError::Incomplete.

So, move the check for PayloadError::Incomplete down to the
decoding code: If the decoder is not ready, but the input stream
is finished, PayloadError::Incomplete will be returned.
2018-04-12 09:47:32 +02:00
Nikolay Kim
d39b531537 Merge branch 'master' of github.com:actix/actix-web 2018-04-11 19:05:34 -07:00
Nikolay Kim
35e68723df use older mdbook 2018-04-11 19:05:14 -07:00
Nikolay Kim
0624f9b9d9
Update MIGRATION-0.4-0.5.md 2018-04-11 16:53:27 -07:00
Nikolay Kim
0e3820afdf
Update MIGRATION-0.4-0.5.md 2018-04-11 16:49:45 -07:00
Nikolay Kim
839d67ac6a migration to 0.5 2018-04-11 16:46:21 -07:00
Nikolay Kim
b517957761 fix stats for tls and alpn features 2018-04-11 16:34:01 -07:00
Nikolay Kim
d18f9c5905 add clinet connector stats 2018-04-11 16:11:11 -07:00
Douman
76fcdc13a3
Merge pull request #171 from DoumanAsh/without_state_public
Make HttpRequest::without_state public
2018-04-11 23:48:19 +03:00
Douman
62a9b4c53c Rename HttpRequest::without_state into drop_state and make it public 2018-04-11 22:41:06 +03:00
Nikolay Kim
c570229351
Update README.md 2018-04-11 10:49:34 -07:00
Nikolay Kim
d041df6c4b update links 2018-04-10 19:27:09 -07:00
Nikolay Kim
bc28e54976 add homepage link 2018-04-10 19:20:21 -07:00
Nikolay Kim
26ab5cbd01 forgot to include 2018-04-10 15:14:46 -07:00
Nikolay Kim
50c2a5ceb0 update basic example 2018-04-10 14:45:03 -07:00
Nikolay Kim
8dbbb0ee07 update guide 2018-04-10 13:31:10 -07:00
Nikolay Kim
ca76dff5a7 update redis example 2018-04-10 13:21:54 -07:00
Nikolay Kim
88f66d49d0 openssl features 2018-04-10 11:07:54 -07:00
Nikolay Kim
be288fa00a for NamedFile process etag and last modified only if status code is 200 2018-04-10 10:57:53 -07:00
Nikolay Kim
5e6a0aa3df simplier example in readme 2018-04-10 10:39:16 -07:00
Nikolay Kim
fd87eb59f8 remove reference to master 2018-04-10 10:29:10 -07:00
Nikolay Kim
81ac905c7b fix prefix and static file serving #168 2018-04-10 10:16:00 -07:00
Nikolay Kim
bb11fb3d24 update client mod doc string 2018-04-09 21:57:40 -07:00
Nikolay Kim
23eea54776 update cors doc string 2018-04-09 21:39:32 -07:00
Nikolay Kim
2881859400 proper test for CorsBuilder::resource 2018-04-09 21:29:57 -07:00
Nikolay Kim
1686682c19 extend CorsBuilder api to make it more user friendly 2018-04-09 21:11:15 -07:00
Nikolay Kim
d04ff13955 update version 2018-04-09 14:27:13 -07:00
Nikolay Kim
e757dc5a71 clippy warnings 2018-04-09 14:25:30 -07:00
Nikolay Kim
be358db422 CorsBuilder::finish() panics on any configuration error 2018-04-09 14:20:12 -07:00
Nikolay Kim
7df2d6b12a clippy warnings; extend url_for example in user guide 2018-04-09 13:30:38 -07:00
Nikolay Kim
458e6bdcc2
Merge pull request #170 from adwhit/private-cookies
Public, signed and private cookies
2018-04-09 12:54:15 -07:00
Nikolay Kim
0b0bbd6bd9
Merge branch 'master' into private-cookies 2018-04-09 12:54:08 -07:00
Nikolay Kim
5617896780 cleanup doc tests 2018-04-09 10:40:12 -07:00
Alex Whitney
2b803f30c9 remove CookieSessionBackend::new 2018-04-09 18:33:29 +01:00
Alex Whitney
9b152acc32 add signed and private cookies 2018-04-09 17:59:28 +01:00
Nikolay Kim
eb66685d1a simplify csrf middleware 2018-04-09 09:49:07 -07:00
Nikolay Kim
b505e682d4 fix session doc test 2018-04-09 09:31:11 -07:00
Nikolay Kim
48e7013997 update guide examples 2018-04-09 07:57:50 -07:00
Nikolay Kim
ff14633b3d simplify CookieSessionBackend; expose max_age cookie setting 2018-04-08 11:05:37 -07:00
Nikolay Kim
37db7d8168 allow to override status code for NamedFile 2018-04-08 10:53:58 -07:00