Nikolay Kim
cc20fee628
add request chain services
2019-03-02 11:53:05 -08:00
Nikolay Kim
fdf3011837
add responder for unit type
2019-03-02 09:05:07 -08:00
Nikolay Kim
e6d04d24cc
move fs to separate crate
2019-03-01 23:59:44 -08:00
Nikolay Kim
2d7293aaf8
copy actix-web2
2019-03-01 22:51:32 -08:00
Juan Aguilar
55a2a59906
Improve change askama_escape in favor of v_htmlescape ( #651 )
2019-01-03 22:34:18 +03:00
Douman
46db09428c
Prepare release 0.7.16
2018-12-11 21:04:05 +03:00
Douman
389cb13cd6
Export PathConfig and QueryConfig
...
Closes #597
2018-11-20 23:06:38 +03:00
imaperson
1a0bf32ec7
Fix unnecessary owned string and change htmlescape in favor of askama_escape ( #584 )
2018-11-08 16:08:06 -08:00
Nikolay Kim
127af92541
clippy warnings
2018-10-01 21:16:56 -07:00
Nikolay Kim
91af3ca148
simplify h1 dispatcher
2018-10-01 19:18:24 -07:00
Nikolay Kim
6a61138bf8
enable ssl feature
2018-09-27 18:33:29 -07:00
Nikolay Kim
1907102685
switch to actix-net server
2018-09-27 18:33:29 -07:00
Nikolay Kim
002bb24b26
unhide SessionBackend and SessionImpl traits and cleanup warnings
2018-09-07 20:46:43 -07:00
Nikolay Kim
810995ade0
fix tokio-tls dependency #480
2018-08-23 10:10:13 -07:00
Nikolay Kim
1716380f08
clippy fmt
2018-08-23 09:48:01 -07:00
Douman
986f19af86
Revert back to serde_urlencoded dependecy ( #479 )
2018-08-21 22:23:17 +03:00
Kornel
bdc9a8bb07
Optionally support tokio-uds's UnixStream as IoStream ( #472 )
2018-08-17 19:04:15 +03:00
Douman
248bd388ca
Improve HTTP server docs ( #470 )
2018-08-16 16:11:15 +03:00
Nikolay Kim
2e8d67e2ae
upgrade native-tls package
2018-08-09 13:08:59 -07:00
Marat Safin
196da6d570
add rustls
2018-07-30 08:21:12 +03:00
Douman
6048817ba7
Correct flate feature names in documentation
2018-07-25 20:22:18 +03:00
Douman
2988a84e5f
Expose leaked private ContentDisposition ( #406 )
2018-07-19 20:03:45 +03:00
Nikolay Kim
6b10e1eff6
rename PayloadHelper
2018-07-18 10:01:28 +06:00
Nikolay Kim
2a8c2fb55e
export Payload
2018-07-16 12:14:24 +06:00
Nikolay Kim
22385505a3
clippy warnings and fmt
2018-07-16 11:17:45 +06:00
Nikolay Kim
9570c1cccd
rename RouteInfo
2018-07-15 16:25:56 +06:00
Douman
7d753eeb8c
Private serde fork ( #390 )
...
* Fork serde_urlencoded
* Apply enum PR https://github.com/nox/serde_urlencoded/pull/30
* Add test to verify enum in query
* Docs are updated to show example of how to use enum.
2018-07-13 09:59:09 +03:00
Nikolay Kim
b8b90d9ec9
rename ResourceHandler to Resource
2018-07-12 15:30:01 +06:00
Diggory Blake
85012f947a
Remove reimplementation of LazyCell
2018-07-06 22:28:08 +01:00
Nikolay Kim
4c5a63965e
use new actix context api
2018-07-04 17:04:23 +06:00
Nikolay Kim
fec6047ddc
refactor HttpRequest mutability
2018-07-02 23:35:32 +06:00
Gowee
0be5448597
Properly escape special characters in fs/directory_listing. ( #355 )
2018-06-30 15:01:48 +03:00
Nikolay Kim
4fadff63f4
Use Box::leak for dynamic param names
2018-06-23 09:57:03 +06:00
Armin Ronacher
7bc7b4839b
Switch from fnv to a identity hasher in extensions ( #342 )
2018-06-22 11:32:32 +02:00
Armin Ronacher
dda6ee95df
Changes the router to use atoms internally ( #341 )
2018-06-22 09:33:32 +02:00
Nikolay Kim
765c38e7b9
remove libc dependency
2018-06-22 11:47:33 +06:00
Nikolay Kim
0093b7ea5a
refactor extractor configuration #331
2018-06-21 11:47:01 +06:00
Nikolay Kim
5c42b0902f
better doc api examples
2018-06-19 12:07:07 +06:00
Nikolay Kim
ef15646bd7
refactor edfault cpu pool
2018-06-18 04:56:18 +06:00
Nikolay Kim
b6ed778775
remove HttpMessage::range()
2018-06-17 08:48:50 +06:00
Nikolay Kim
879b2b5bde
port Extensions from http crate #315
2018-06-17 03:22:08 +06:00
Nikolay Kim
ef420a8bdf
fix docs.rs
2018-06-11 12:21:09 -07:00
axon-q
c0c1817b5c
remove unicase dependency
2018-06-07 10:33:00 +00:00
axon-q
936ba2a368
multipart: parse and validate Content-Disposition
2018-06-06 14:06:01 +00:00
Nikolay Kim
ea018e0ad6
better examle in doc string
2018-06-02 16:03:23 -07:00
Nikolay Kim
3bfed36fcc
do not re-export actix_inner
2018-06-02 09:14:47 -07:00
Pascal Hertleif
890a7e70d6
Add missing API docs
...
These were written without much knowledge of the actix-web internals!
Please review carefully!
2018-06-02 15:52:50 +02:00
Pascal Hertleif
47b7be4fd3
Add warning for missing API docs
2018-06-02 15:50:45 +02:00
Nikolay Kim
c8930b7b6b
fix rustfmt formatting
2018-06-01 10:27:23 -07:00
Nikolay Kim
154cd3c5de
better actix mod re-exports
2018-06-01 09:36:16 -07:00
Douman
80965d7a9a
Re-export actix dependency. Closes #260 ( #264 )
...
- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
2018-05-31 20:43:14 +03:00
Nikolay Kim
f48702042b
min rustc version
2018-05-24 21:09:20 -07:00
Nikolay Kim
690169db89
migrate to tokio
2018-05-24 21:03:16 -07:00
Nikolay Kim
72757887c9
update doc links
2018-05-23 11:20:12 -07:00
Nikolay Kim
d6787e6c56
prepare release
2018-05-15 10:20:32 -07:00
Nikolay Kim
d8fa43034f
export ExtractorConfig type
2018-05-10 11:00:22 -07:00
Nikolay Kim
e58b38fd13
deprecate WsWrite from top level mod
2018-05-09 06:12:16 -07:00
Nikolay Kim
be12d5e6fc
make WsWriter trait optional
2018-05-09 05:48:06 -07:00
Alexander Andreev
cd11293c1f
spelling check
2018-05-06 19:07:30 +03:00
Nikolay Kim
8b43574bd5
Merge branch 'master' of github.com:actix/actix-web
2018-05-03 16:27:12 -07:00
Nikolay Kim
acd7380865
rename Reply to a AsyncResult
2018-05-03 16:22:08 -07:00
Denis Kolodin
80f385e703
Add WsWriter trait
...
`WsWriter` trait is a common interface for writing to a websocket and
it's implemented for both: `WebScoketContext` and `ClientWriter`.
2018-05-02 08:35:50 +03:00
Nikolay Kim
d43ca96c5c
Allow to use ssl and non-ssl connections with the same HttpServer #206
2018-04-30 19:51:55 -07:00
Nikolay Kim
eefbe19651
remove deprecated types and methods
2018-04-29 21:05:10 -07:00
Nikolay Kim
368730f5f1
Add route scopes #202
2018-04-29 19:35:50 -07:00
Nikolay Kim
03ded62337
bump minimum supported rustc version because of minor version change of parking_lot crate
2018-04-29 14:13:46 -07:00
Nikolay Kim
d98d723f97
bump rustc version requirements
2018-04-29 08:24:19 -07:00
Nikolay Kim
5ca904d1db
make flate crate optional
2018-04-24 12:24:04 -07:00
Nikolay Kim
01a0f3f5a0
remove unused dependency
2018-04-19 09:54:22 -07:00
Nikolay Kim
a826d113ee
add custom request path quoter #182
2018-04-17 12:55:13 -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
d041df6c4b
update links
2018-04-10 19:27:09 -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
Nikolay Kim
691457fbfe
update tests
2018-04-06 09:45:10 -07:00
Nikolay Kim
2dafd9c681
do not re-export HttpServer from server module
2018-04-06 08:40:11 -07:00
Nikolay Kim
800f711cc1
add PayloadConfig
2018-04-04 21:13:48 -07:00
Nikolay Kim
df21892b5b
added extractor configuration
2018-04-03 22:06:18 -07:00
Nikolay Kim
d292c5023f
add String and Bytes extractor
2018-04-02 16:19:18 -07:00
Nikolay Kim
a6cbdde43f
add extractor for Binary type; move all extractors to separate module
2018-04-02 14:55:42 -07:00
Nikolay Kim
cbf4c61eb5
add urlencoded body extractor
2018-04-02 14:00:18 -07:00
Nikolay Kim
280c8d87f8
expose ResourceType
2018-04-02 11:18:31 -07:00
Nikolay Kim
17c27ef42d
HttpRequest::resource() returns current matched resource
2018-04-01 17:37:22 -07:00
Nikolay Kim
8791c0f880
simplify With handlers
2018-03-31 09:58:33 -07:00
Nikolay Kim
3ee228005d
rename Application
2018-03-31 00:16:55 -07:00
Nikolay Kim
44e3df82f6
simplify http response construction; deprecate httpcodes
2018-03-30 23:07:33 -07:00
Nikolay Kim
9e751de707
re-arrange modules and exports
2018-03-30 17:31:18 -07:00
Nikolay Kim
3e98177fad
added State extractor
2018-03-29 15:41:13 -07:00
Nikolay Kim
d24752d9bc
update example in readme
2018-03-29 15:07:12 -07:00
Nikolay Kim
3cf54bc0fd
proper serde deserializer implementation for path
2018-03-29 14:30:45 -07:00
Nikolay Kim
86dd732704
use FromRequest instead of HttpRequestExtractor
2018-03-29 13:12:28 -07:00
Nikolay Kim
dfd8f1058e
move NormalizePath type to separate module
2018-03-29 11:39:21 -07:00
Nikolay Kim
f5636f321b
drop deprecated code
2018-03-29 11:06:44 -07:00
Nikolay Kim
ae6c9cb7fa
re-arrange exports, some doc string updates
2018-03-29 10:44:26 -07:00
Nikolay Kim
9e61c67128
do not re-export Version
2018-03-28 22:00:36 -07:00
Nikolay Kim
13bb5f20d2
fix export name
2018-03-28 21:58:08 -07:00
Nikolay Kim
d14991ec96
update doc strings
2018-03-28 21:49:50 -07:00
Nikolay Kim
4f7d45ee9c
remove unneeded import
2018-03-28 14:38:01 -07:00
Nikolay Kim
65700281e8
add support for multiple extractors
2018-03-28 14:24:32 -07:00