Nikolay Kim
bf9a90293f
fix doc strings
2018-04-17 16:22:25 -07:00
Nikolay Kim
65b8197876
better doc string for Application::with_state()
2018-04-17 13:59:55 -07:00
Nikolay Kim
a826d113ee
add custom request path quoter #182
2018-04-17 12:55:13 -07:00
Nikolay Kim
3a79505a44
update doc string
2018-04-17 07:51:06 -07:00
Aleksey Ivanov
6a7b097bcf
Fix route in App::resource example
2018-04-17 16:01:34 +03:00
Nikolay Kim
30a36bed9d
fix doc example
2018-04-16 09:50:37 -07:00
Nikolay Kim
79818560b2
cleanup doc strings; prepare release
2018-04-16 09:30:59 -07:00
Nikolay Kim
58cc0dfbc5
Fix Client Request with custom Body Stream halting on certain size requests #176
2018-04-15 10:22:09 -07:00
Nikolay Kim
a9ea649348
Allow to configure StaticFiles CpuPool, via static method or env variable
2018-04-13 19:46:14 -07:00
Nikolay Kim
a5b5ff0894
update doc strings
2018-04-13 19:14:14 -07:00
Nikolay Kim
5140fea8d1
allow to use castom error handler for json extractor
2018-04-13 19:10:42 -07:00
Nikolay Kim
333b4f57d3
use different directory for tests
2018-04-13 17:00:18 -07:00
Nikolay Kim
a8567da3e2
move guide to separate repo; update links
2018-04-13 16:20:23 -07:00
Nikolay Kim
113f5ad1a8
add rustfmt config
2018-04-13 16:02:01 -07:00
Nikolay Kim
95f6277007
fix typo
2018-04-13 14:36:07 -07:00
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
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
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
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
62a9b4c53c
Rename HttpRequest::without_state into drop_state and make it public
2018-04-11 22:41:06 +03:00
Nikolay Kim
d041df6c4b
update links
2018-04-10 19:27:09 -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
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
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
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
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
Vincent Ambo
9fb0498437
docs(lib): Add a note about getting started with the API docs
...
Adds some initial pointers for newcomers to the documentation that
direct them at some of the most commonly used API types.
I based these links on what *I* usually end up looking at when I open
the actix_web docs.
2018-04-07 17:27:53 +02:00
Vincent Ambo
b2a43a3c8d
docs(application): Formatting & spelling fixes in module docs
2018-04-07 17:19:11 +02:00
Vincent Ambo
38063b9873
docs(client): Minor formatting and spelling fixes in module docs
2018-04-07 17:00:57 +02:00
Nikolay Kim
7243c58fce
stable rust compatibility
2018-04-06 21:57:45 -07:00
Nikolay Kim
fffaf2bb2d
App::route method
2018-04-06 21:18:42 -07:00
Nikolay Kim
542315ce7f
simplify StaticFiles
2018-04-06 19:34:55 -07:00