1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00
Commit Graph

64 Commits

Author SHA1 Message Date
Rob Ede
215a52f565 chore: avoid single char error bindings 2023-09-03 19:09:42 +01:00
Rob Ede
79a38e0628 apply standard formatting 2023-07-17 02:38:12 +01:00
Rob Ede
241da6e081 update MSRV to 1.65 (#3059) 2023-07-02 01:09:15 +01:00
citreae535
b00fe72cf6 Update base64 to 0.21 (#2966)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-01-21 01:36:08 +00:00
Rob Ede
6f0a6bd1bb address clippy lints
For intrepid commit message readers:
The choice to add allows for the inlined format args lint instead of actually
inlining them is not very clear because our actual real world MSRV is not clear.
We currently claim 1.60 is our MSRV but this is mainly due to dependencies. I'm
fairly sure that we could support < 1.58 if those deps are outdated in a users
lockfile. We'll remove these allows again at some point soon.
2023-01-01 20:56:34 +00:00
Rob Ede
29bd6a1dd5 fix version requirement for futures_util 2022-12-18 01:34:48 +00:00
Rob Ede
cc7145d41d rust 1.64 clippy run (#2891) 2022-09-25 20:54:17 +01:00
Rob Ede
bc89f0bfc2 s/example/examples 2022-01-21 16:56:33 +00:00
Rob Ede
2308f8afa4 use const header values where possible 2021-12-27 16:15:33 +00:00
Rob Ede
3756dfc2ce move client to own module 2021-12-25 02:34:31 +00:00
Rob Ede
d2590fd46c ClientRequest::send_body takes impl MessageBody (#2546) 2021-12-25 02:33:37 +00:00
Rob Ede
11ee8ec3ab align remaining header map terminology (#2510) 2021-12-13 16:08:08 +00:00
Rob Ede
2d053b7036 remove actix_http::http module (#2488) 2021-12-05 14:37:20 +00:00
Rob Ede
0df275c478 update all IETF RFC links to new URL format 2021-12-01 19:42:02 +00:00
Igor Aleksanov
262c6bc828 Various refactorings (#2281)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Rob Ede
44c55dd036 remove cookie support from -http (#2065) 2021-04-09 18:07:10 +01:00
Rob Ede
c8ed8dd1a4 migrate to -utils beta 4 (#2127) 2021-04-01 15:26:13 +01:00
fakeshadow
b75b5114c3 refactor actix_http connection types and connector services (#2081) 2021-03-18 17:53:22 +00:00
Rob Ede
95130fcfd0 address clippy warnings 2021-03-08 20:32:19 +00:00
Rob Ede
cd652dca75 refactor websocket key hashing (#2035) 2021-02-28 19:55:34 +00:00
fakeshadow
dfd9dc40ea remove awc::connect::connect trait. (#2004) 2021-02-17 17:10:46 +00:00
Rob Ede
3279070f9f optional cookies features (#1981) 2021-02-13 15:08:43 +00:00
Rob Ede
4fc7d76759 s/websocket/WebSocket in docs 2021-02-12 00:27:20 +00:00
Rob Ede
31d9ed81c5 change rustfmt line width to 96 2021-02-11 23:03:17 +00:00
fakeshadow
41bc04b1c4 Use immutable reference of service state. Update awc dns resolver. (#1905) 2021-02-07 01:00:40 +00:00
Rob Ede
b1dd8d28bc response header rework (#1869) 2021-01-15 02:11:10 +00:00
Rob Ede
6575ee93f2 big clean up and docs improvmenet of types mod (#1894) 2021-01-09 13:17:19 +00:00
Rob Ede
2204614134 don't run awc doctests that rely on external public endpoints (#1888) 2021-01-08 12:00:58 +00:00
Rob Ede
7d632d0b7b use ByteString as container for websocket text message (#1864) 2021-01-04 11:27:32 +00:00
Rob Ede
2d4a174420 fmt 2021-01-04 01:01:35 +00:00
Rob Ede
21f6c9d7a5 improve code readability 2021-01-04 00:49:02 +00:00
Aravinth Manivannan
fabc68659b Intradoc links conversion (#1827)
* switching to nightly for intra-doc links

* actix-files intra-doc conversion

* more specific Result

* intradoc conversion complete

* rm blank comments and readme doc link fixes

* macros and broken links
2020-12-13 13:28:39 +00:00
Rob Ede
ae63eb8bb2 fix clippy warnings (#1806)
* fix clippy warnings

* prevent CI fail status caused by codecov
2020-12-09 11:22:19 +00:00
Igor Aleksanov
121075c1ef awc: Rename Client::build to Client::builder (#1665) 2020-09-11 09:24:39 +01:00
Igor Aleksanov
c54d73e0bb Improve awc websocket docs (#1654)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-07 12:04:54 +01:00
Rob Ede
8497b5f490 integrate with updated actix-{codec, utils} (#1634) 2020-08-24 10:13:35 +01:00
Rob Ede
eb0eda69c6 migrate cookie handling to cookie crate (#1558) 2020-06-19 14:34:14 +01:00
Nikolay Kim
4a8a9ef405 update tests and clippy warnings 2019-12-08 12:31:16 +06:00
Nikolay Kim
205a964d8f upgrade to tokio 0.2 2019-12-05 23:35:43 +06:00
Nikolay Kim
4dc31aac93 use actix_rt::test for test setup 2019-11-26 11:25:50 +06:00
Nikolay Kim
b510527a9f update awc tests 2019-11-21 16:02:17 +06:00
Nikolay Kim
5ab29b2e62 migrate awc and test-server to std::future 2019-11-21 16:02:17 +06:00
Nikolay Kim
60b7aebd0a fmt & clippy 2019-09-12 21:52:46 +06:00
Eugene Bulkin
8d61fe0925 Ensure that awc::ws::WebsocketsRequest sets the Host header (#1070)
* Ensure that awc::ws::WebsocketsRequest sets the Host header before connecting.

* Make sure to check if headers already have a HOST value before setting

* Update CHANGES.md to reflect WebSocket client update.
2019-09-09 12:27:13 +06:00
Nikolay Kim
55179d6ab2 update dependencies 2019-08-13 10:48:11 -07:00
Nikolay Kim
4092c7f326 clippy warnings 2019-07-17 15:08:30 +06:00
Alec Moskvin
d2eb1edac3 Actix-web client: Always append a colon after username in basic auth (#949)
* Always append a colon after username in basic auth

* Update CHANGES.md
2019-07-01 09:34:42 +06:00
Nikolay Kim
df08baf67f update actix-net dependencies 2019-05-12 08:34:51 -07:00
Nikolay Kim
fc9b14a933 allow to specify server address for http and ws requests 2019-04-19 18:03:44 -07:00
Nikolay Kim
bfe0df5ab0 update tests 2019-04-18 21:28:23 -07:00