1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
Commit Graph

1472 Commits

Author SHA1 Message Date
Sven-Hendrik Haase
fb5779fe8f Always send body whole and don't use transfer encoding
Without doing this, body size would be unknown at the time of sending, causing awc to use transfer encoding which is probably unexpected in most cases.
This change makes behavior more obvious.
2019-10-09 00:56:55 +02:00
Sven-Hendrik Haase
06e7f96c8a
Merge pull request #179 from pfrenssen/form-tests
Provide tests for the form example
2019-10-08 19:46:46 +02:00
Yuki Okushi
f9e7493be5
Update dependencies (#182) 2019-10-06 04:44:45 +09:00
Pieter Frenssen
5f296d3d50 Provide tests for the form example. 2019-09-29 18:51:16 +03:00
Sven-Hendrik Haase
ea35dcbc74
Merge pull request #180 from pfrenssen/template_yarte-test-failure
Several tests are failing
2019-09-29 17:28:10 +02:00
Pieter Frenssen
60bd816ed7 Fix tests for the template_yarte example. 2019-09-29 18:03:03 +03:00
Pieter Frenssen
98cac8668c Run all tests regardless of prior failures. 2019-09-29 18:02:38 +03:00
Pieter Frenssen
06c826e772 Enable Redis in the test environment. 2019-09-29 17:28:00 +03:00
Pieter Frenssen
ec5dfce0b1 Run tests on Travis CI. 2019-09-29 17:00:58 +03:00
Arve Seljebu
d85adb8513 server-sent events (#177)
* server-sent events

* remove stale clients

* ping as message
2019-09-25 10:39:49 +06:00
Sven-Hendrik Haase
eaccae46c6
Merge pull request #176 from actix/add-response-body-read-middleware
Add middleware to log the response body
2019-09-19 01:23:13 +02:00
Sven-Hendrik Haase
b2f4f90454 Use a Stream wrapper instead for async bodies 2019-09-18 06:16:47 +02:00
Sven-Hendrik Haase
56859e14d2 Add middleware to log the response body 2019-09-18 04:37:35 +02:00
Sven-Hendrik Haase
fb6d5254bf
Merge pull request #79 from apatrushev/udp-echo
Add udp echo server example
2019-09-18 02:17:33 +02:00
Anton Patrushev
bbcd4f4c93 Merge branch 'master' into udp-echo
# Conflicts:
#	.travis.yml
#	Cargo.toml
2019-09-17 21:42:44 +02:00
Yuki Okushi
d9ca7cb055
Make cookie-session example clarify (#175) 2019-09-14 19:37:39 +09:00
Yuki Okushi
2b4e360adc
Update actix-session to 0.2.0 (#174) 2019-09-14 18:01:05 +09:00
Yuki Okushi
77dd2cc4e3
Fix favicon link (#172) 2019-09-13 17:15:26 +09:00
Sven-Hendrik Haase
45d56e1f7a
Merge pull request #171 from actix/document-middlewares
Document middlewares
2019-09-11 20:32:21 +02:00
Sven-Hendrik Haase
d0fed9f078 Add better README for middleware example 2019-09-11 19:37:17 +02:00
Sven-Hendrik Haase
1af4710c01
Merge pull request #170 from actix/read_body-example
Add middleware example for reading the Request body
2019-09-11 19:34:21 +02:00
Sven-Hendrik Haase
f026cb7041
Merge pull request #169 from actix/wrap_fn-example
Add middleware example with wrap_fn
2019-09-11 16:34:27 +02:00
Sven-Hendrik Haase
0f692a3bfb Add middleware example for reading the Request body 2019-09-11 16:32:08 +02:00
Sven-Hendrik Haase
948054f1e4 Add middleware example with wrap_fn 2019-09-11 14:06:43 +02:00
Yuki Okushi
f232b6c684
Fix clippy warnings (#168) 2019-09-05 00:04:57 +09:00
Yuki Okushi
bb639d5fe3
Prevent jobs from being terminated on Travis (#167)
* Prevent jobs from being terminated

* Fix installing clippy

* Fix command

* Run Clippy on nightly
2019-09-02 18:20:15 +09:00
leizzer
6272b56699
Merge pull request #165 from actix/vmalloc/remove-old-proxy
Remove old http-proxy, use the full version as the official http-proxy example
2019-08-21 14:08:55 -03:00
Rotem Yaari
bc7e9f5e6b Remove old http-proxy, use the full version as the official http-proxy example (closes #164) 2019-08-21 18:07:34 +03:00
leizzer
7abc37139c
Merge pull request #163 from actix/remove_python_client
implement client with bash
2019-08-13 13:54:42 -03:00
Cristian Re
b358d66344 replace png file for a real png 2019-08-13 12:10:52 -03:00
Cristian Re
7c34cf235b implement client with bash 2019-08-13 11:29:25 -03:00
Yuki Okushi
02042ae26f
Merge pull request #162 from JohnTitor/ignore-png
Ignore multipart example's png
2019-08-11 09:30:50 +09:00
Yuki Okushi
d27b947836 Ignore example's png 2019-08-11 01:13:02 +09:00
leizzer
51ba48e779
Merge pull request #160 from actix/fix_multipart_example
Fix client.py paths
2019-08-09 21:10:58 -03:00
Cristian Re
ffb1b40dc2 Fix client.py paths 2019-08-09 18:19:18 -03:00
Nikolay Kim
44053504ad reenable uds example; cargo fmt 2019-07-18 18:03:19 +06:00
Harry Gill
7525903fe6 Update to new actix 1.0 api, drop actix-rt (#158) 2019-07-18 17:55:14 +06:00
Darin
258eae3bb9
Merge pull request #157 from Dowwie/master
updated redis-session with comprehensive example and tests
2019-07-12 06:23:20 -04:00
dowwie
858376ecda renamed package 2019-07-11 15:27:17 -04:00
dowwie
99c9e145c1 updated redis-session with comprehensive example and tests 2019-07-11 15:10:09 -04:00
Nikolay Kim
8c019519b9 update redis examples 2019-07-11 15:11:05 +06:00
Nikolay Kim
93275d7986 update chat-broker example and fmt 2019-07-11 15:02:25 +06:00
Guoli Lyu
4aa663e794 feat: update ws client example to actix-web 1.0 (#143) 2019-07-11 14:48:14 +06:00
Arve Seljebu
59df61db6f update users sessions link (#154) 2019-07-11 14:47:41 +06:00
Juan Aguilar
3f286b5b60 Update yarte version to 0.3 (#155) 2019-07-11 14:47:22 +06:00
Arve Seljebu
82786d4461 Full proxy omit content length (#152)
* omit content-length header in http-full-proxy

* cargo fmt
2019-07-01 10:02:51 +06:00
Juan Aguilar
7c747c5006 Bump yarte version to 0.2.1 (#153) 2019-07-01 10:02:14 +06:00
Dany Marcoux
ed24f61cca Add openSUSE instructions for diesel example (#149) 2019-06-28 14:53:08 +06:00
Julian Tescher
58675a683b Do not decompress proxied responses (#151)
If you decompress a proxied response that was encoded, the `content-encoding` header will be passed through but a plaintext body will be returned.
2019-06-28 14:52:12 +06:00
Niels Nielsen
b0d3c652b2 Fix error message for failed connection (#144) 2019-06-22 13:08:45 +06:00