Commit Graph

840 Commits

Author SHA1 Message Date
Yoshua Wuyts 975ad8f458
Merge pull request #266 from http-rs/expect
Add `other::Expect` header
2020-11-27 15:18:12 +01:00
Yoshua Wuyts 4599842ca7
Merge pull request #258 from Fishrock123/error-backtrace-stable-display
error: allow backtrace Option to be Display on stable
2020-11-27 14:46:01 +01:00
Yoshua Wuyts c595742126
Merge pull request #290 from http-rs/fix-docs
Fix [sic] in docs
2020-11-27 14:43:34 +01:00
Yoshua Wuyts 68c4007c60 Stabilize `upgrade` 2020-11-27 14:22:52 +01:00
Yoshua Wuyts 3ea193698a Simplify `upgrade::Connection` 2020-11-27 14:22:41 +01:00
Yoshua Wuyts 565c2502d1
Merge pull request #289 from http-rs/fix-connection-docs
Fix upgrade::sender docs
2020-11-27 14:10:21 +01:00
Yoshua Wuyts e82c9e332d Fix [sic] in docs 2020-11-27 14:09:06 +01:00
Yoshua Wuyts 3594a2a671
Merge pull request #287 from http-rs/new-connection
make it so upgrade connections can be built from the outside
2020-11-27 14:06:52 +01:00
Yoshua Wuyts 8fb8066738 Fix upgrade::sender docs 2020-11-27 14:04:25 +01:00
Jacob Rothstein 45e54df4d6
make it so upgrade connections can be built from the outside 2020-11-25 13:28:35 -08:00
Yoshua Wuyts 2a89da2a50
Merge pull request #284 from rossmacarthur/ft/basic-auth-from-credentials
Add `BasicAuth::from_credentials`
2020-11-25 21:07:35 +01:00
Ross MacArthur 858f816898
Add `BasicAuth::from_credentials` 2020-11-24 18:05:41 +02:00
Jacob Rothstein 908aaa2bb8 add proxy-connection header 2020-11-23 18:45:42 -08:00
Jacob Rothstein 066dec9385 do not let Body read beyond its length 2020-11-23 14:58:44 -08:00
Jacob Rothstein add09b9baa convert an http_types::Error into an anyhow::Error 2020-11-20 22:15:26 -08:00
Jacob Rothstein e88d8fc59b use &str to_header_values impl for Cow<'_, str> 2020-11-13 15:22:17 -08:00
Yoshua Wuyts 53cfeb678a v2.8.0 2020-11-13 15:46:23 +01:00
Yoshua Wuyts 72d8827061
Merge pull request #279 from http-rs/to-header-values-for-more-string-types
Implement `ToHeaderValues` for more string types
2020-11-13 15:19:31 +01:00
Yoshua Wuyts 9325743f47 apply feedback from review 2020-11-13 15:08:53 +01:00
Jeremiah Senkpiel aa1beeb00f
Merge pull request #275 from Fishrock123/ci-improvements
ci improvements
2020-11-09 17:12:17 -08:00
Jeremiah Senkpiel 932a676899 ci: run fmt-clippy-docs on stable
Avoids components sometimes not being available on nightly, and has less complexity than running beta.
2020-11-09 17:00:10 -08:00
Yoshua Wuyts 61b58b3a29 cargo fmt 2020-11-08 13:51:36 +01:00
Yoshua Wuyts d988acaa45 Implement `ToHeaderValues` for more string types 2020-11-08 13:44:30 +01:00
Yoshua Wuyts 746f5519eb
Merge pull request #276 from http-rs/fix-content-location
Apply polish to unpublished Content-Location header
2020-11-05 23:53:27 +01:00
Yoshua Wuyts b804a698e9 Apply polish to unpublished Content-Location header 2020-11-05 23:24:20 +01:00
Jeremiah Senkpiel a312ebfc8b ci: improvements
- run on "main"
- really check everything
- move to non-deprecated --workspace from --all
- reduce unecessary actions-rs usage
- really clippy everything
- docs without deps
2020-11-05 10:33:27 -08:00
Yoshua Wuyts 65ec6b56d3 further reading link 2020-11-03 23:26:34 +01:00
Yoshua Wuyts af526dbc80 Update docs 2020-11-03 23:26:34 +01:00
Yoshua Wuyts 3cc6ae83eb fix `q` parsing in MediaTypeProposal 2020-11-03 23:26:34 +01:00
Yoshua Wuyts d1d23e9cf9 Finish tests 2020-11-03 23:26:34 +01:00
Yoshua Wuyts 00d243d22e Fix all tests 2020-11-03 23:26:34 +01:00
Yoshua Wuyts d0f4a63624 Add `content::Accept` 2020-11-03 23:26:34 +01:00
Yoshua Wuyts eaddb53d38 Add `content::ContentType` header 2020-11-03 23:26:33 +01:00
Yoshua Wuyts de7afbb364
Merge pull request #256 from pepoviola/header-content-location
Add `content::ContentLocation` header
2020-11-03 23:24:48 +01:00
Pepo Viola 85a5089c29 changes from feedback, use bail_status 2020-11-02 23:10:02 -03:00
Pepo Viola 63a7be96b8 Merge remote-tracking branch 'upstream/main' into header-content-location 2020-11-02 22:57:13 -03:00
Yoshua Wuyts a6cbf95fce
Merge pull request #265 from http-rs/clear-site-data
Add `cache::ClearSiteData` header
2020-11-03 02:12:52 +01:00
Yoshua Wuyts bedaf28ff5 feedback from review 2020-11-03 01:36:24 +01:00
Yoshua Wuyts 52961f71c8 Add `other::Expect` header 2020-11-02 01:00:19 +01:00
Yoshua Wuyts 796908799d Add `cache::ClearSiteData` header 2020-11-02 00:51:27 +01:00
Yoshua Wuyts 1f8c4d655b v2.7.0 2020-10-30 11:28:30 +01:00
Yoshua Wuyts a6b2a056f7
Merge pull request #262 from mfelsche/serialize
Add custom deserialize and serialize impls for Version, StatusCode and Method
2020-10-28 11:51:50 +01:00
Matthias Wahl ad513b59d5 Add custom de-/serializers to Version
in order to serialize it to string.
2020-10-27 15:10:02 +01:00
Matthias Wahl 2dfe020589 Add custom de-/serializers to StatusCode
in order to serialize it to u16 and deserialize it from most int types.
2020-10-27 15:09:35 +01:00
Matthias Wahl 8e6cdc9f02 Add custom de-/serializers to Method
in order to serialize it to string.
2020-10-27 15:08:47 +01:00
Yoshua Wuyts 18b86df5a2
Merge pull request #261 from jbr/parse-method-case-insensitively
make `Method` parse case insensitively
2020-10-26 11:24:12 +01:00
Jacob Rothstein 648c84a4cd
make Methods parse case insensitively
this is a small performance regression but other than that there's no reason _not_ to accept lowercase methods
2020-10-25 15:59:59 -07:00
Yoshua Wuyts 9127b5f5ed
Merge pull request #252 from http-rs/basic-auth
Add `auth::{Authorization, AuthenticationScheme, BasicAuth, WwwAuthenticate, ProxyAuthorization, ProxyAuthenticate}`
2020-10-25 11:05:22 +01:00
Yoshua Wuyts 61681e7ed5 feedback from review 2020-10-25 10:56:31 +01:00
Pepo Viola cc1c8e91d9 use create new error approach 2020-10-17 21:00:12 -03:00