1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-30 02:33:06 +01:00
Commit Graph

3748 Commits

Author SHA1 Message Date
Nikolay Kim
af0c8d893d add shortcut method for client requests 2018-04-06 10:09:31 -07: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
12586db15c
Merge pull request #160 from memoryruins/guide
Guide: edits to first half
2018-04-05 19:44:42 -07:00
Nikolay Kim
b847bda8ca
Merge branch 'master' into guide 2018-04-05 19:44:34 -07:00
memoryruins
2a543001e0 Tweaks to the URL Dispatch chapter. 2018-04-05 22:12:20 -04:00
memoryruins
0f86c596fa Tweaks to Errors chapter. 2018-04-05 21:54:39 -04:00
Nikolay Kim
6c55501252 client connector wait timeout 2018-04-05 18:33:58 -07:00
memoryruins
961edfd21a Tweaks to the Handler chapter. 2018-04-05 21:30:52 -04:00
memoryruins
7f0de705a3 Tweaks to Server chapter. 2018-04-05 20:55:19 -04:00
memoryruins
c2ad65a61d Various tweaks to Application chapter. 2018-04-05 19:43:17 -04:00
memoryruins
3c93e0c654 Add newline for reading source. 2018-04-05 19:25:41 -04:00
memoryruins
a0f1ff7eb3 Add src directory to main.rs and list on first codeblock. 2018-04-05 19:21:29 -04:00
memoryruins
9f45cfe492 Expand note about actix. 2018-04-05 19:12:23 -04:00
memoryruins
46e6641528 Add repository hyperlink and trim repeat. 2018-04-05 18:46:36 -04:00
memoryruins
a3f124685a Remove redundant quickstart paragraph. 2018-04-05 18:32:04 -04:00
Nikolay Kim
800f711cc1 add PayloadConfig 2018-04-04 21:13:48 -07:00
Nikolay Kim
7be4b1f399 clippy warns 2018-04-04 20:24:09 -07:00
Nikolay Kim
eeae0ddab4 start client timeout for response only 2018-04-04 20:15:47 -07:00
Nikolay Kim
c1af59c618 update juniper example 2018-04-04 17:57:02 -07:00
Nikolay Kim
d8a9606162 add connection limits to pool 2018-04-04 16:39:01 -07:00
Nikolay Kim
8038a52287 run test coverage on beta 2018-04-04 08:12:33 -07:00
Nikolay Kim
c273b7ac3f update json example 2018-04-04 08:08:31 -07:00
Nikolay Kim
df21892b5b added extractor configuration 2018-04-03 22:06:18 -07:00
Nikolay Kim
a255a6fb69 use build_response method 2018-04-03 17:37:17 -07:00
Nikolay Kim
b693d5491b
Merge pull request #157 from krircc/master
only use diesel::r2d2 feature. no need r2d2_diesel create
2018-04-03 08:18:16 -07:00
krircc
56a31ea0ee only use diesel::r2d2 feature. no need r2d2_diesel create 2018-04-03 22:37:53 +08:00
Nikolay Kim
2a269f1111 update changes 2018-04-02 22:08:04 -07:00
Nikolay Kim
fee30d6f47 fix doc test compatibility 2018-04-02 22:01:20 -07:00
Nikolay Kim
476b1fb36a simplify DefaultHeaders middleware 2018-04-02 21:43:50 -07:00
Nikolay Kim
3b93bff602 add ErrorHandlers middleware 2018-04-02 21:37:00 -07:00
Nikolay Kim
d292c5023f add String and Bytes extractor 2018-04-02 16:19:18 -07:00
Nikolay Kim
ef6f310060 update urlencoded example in guide 2018-04-02 15:08:49 -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
83bf852192 Fix logger request duration calculation 2018-04-02 11:09:24 -07:00
Nikolay Kim
9d39f441e9
Merge pull request #153 from rofrol/add-header-for-juniper-example
Add header for juniper example
2018-04-02 10:51:42 -07:00
Nikolay Kim
03d851680b
Merge branch 'master' into add-header-for-juniper-example 2018-04-02 10:51:35 -07:00
Nikolay Kim
0ddd018214
Merge pull request #154 from dholbert/patch-1
Use https (not http) url for meritbadge
2018-04-02 10:50:17 -07:00
Daniel Holbert
8219a7aebe
Use https (not http) url for meritbadge
Right now this readme file uses an HTTP url to reference a meritbadge image, which ends up producing "broken https" UI on the crates.io page https://crates.io/crates/actix-web. This patch just upgrades this to an HTTPS url (which still works), to avoid that problem. (Literally a 1-character change, changing "http" to "https" in "http://meritbadge.herokuapp.com/actix-web")
2018-04-02 10:44:46 -07:00
Nikolay Kim
6c906b08e1 match resource path before executing middlewares 2018-04-02 10:27:37 -07:00
Roman Frołow
220cbe40e5 Add header for juniper example 2018-04-02 19:10:33 +02:00
Nikolay Kim
74d0656d27 update diesel example 2018-04-01 18:24:07 -07:00
Nikolay Kim
17c27ef42d HttpRequest::resource() returns current matched resource 2018-04-01 17:37:22 -07:00
Nikolay Kim
b2e771df2c use r2d2 for diesel example 2018-04-01 08:20:15 -07:00
Nikolay Kim
a5a36ff194 update readme example 2018-03-31 17:15:44 -07:00
Nikolay Kim
97e2bcd055 allow primitive types for Path extractor 2018-03-31 17:12:08 -07:00
Nikolay Kim
23cfa649f4 update tests 2018-03-31 10:21:54 -07:00
Nikolay Kim
8791c0f880 simplify With handlers 2018-03-31 09:58:33 -07:00