Christoph Herzog 
							
						 
					 
					
						
						
							
						
						954fdfae30 
					 
					
						
						
							
							Implement cookie store support  
						
						... 
						
						
						
						This commit introduces a cookie store / session support
for both the async and the sync client.
Functionality is based on the cookie crate,
which provides a HTTP cookie abstraction,
and the cookie_store crate which provides a
store that handles cookie storage and url/expiration
based cookie resolution for requests.
Changes:
* adds new private dependencies: time, cookie, cookie_store
* a new cookie module which provides wrapper types around
    the dependency crates
* a Response::cookies() accessor for iterating over response cookies
* a ClientBuilder::cookie_store() method that enables session functionality
* addition of a cookie_store member to the async client
* injecting request cookies and persisting response cookies
* cookie tests
NOTE: this commit DOES NOT expose the CookieStore itself,
limiting available functionality.
This is desirable, but omitted for now due to API considerations that should be fleshed out in the future.
This means users do not have direct access to the cookie session for now. 
						
						
					 
					
						2019-04-09 12:54:10 -07:00 
						 
				 
			
				
					
						
							
							
								Diggory Blake 
							
						 
					 
					
						
						
							
						
						c45ff29bfb 
					 
					
						
						
							
							Add support for SOCKS5 proxies, and parsing proxy authorizations from URLs  
						
						
						
						
					 
					
						2019-04-08 11:42:18 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						871ec6f989 
					 
					
						
						
							
							v0.9.13  
						
						
						
						
					 
					
						2019-04-01 18:45:16 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						5c3494b81d 
					 
					
						
						
							
							Check redirect locations are valid Uris ( #486 )  
						
						... 
						
						
						
						Closes  #484  
					
						2019-04-01 11:13:01 -07:00 
						 
				 
			
				
					
						
							
							
								Arnaud de Bossoreille 
							
						 
					 
					
						
						
							
						
						d62f8c2bbd 
					 
					
						
						
							
							Body: don't call poll_ready on tx when 0 bytes remaining. ( #479 )  
						
						... 
						
						
						
						Some web servers (if IIS is a web server) may close their request
stream early when they consider the input is complete. That leads to
poll_ready returning an error of kind "Closed" which is legitimate as
the receiver disappeared. So this change ignores the case when the body
has been fully transmitted. 
						
						
					 
					
						2019-03-26 13:09:08 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						f77ec53e59 
					 
					
						
						
							
							v0.9.12  
						
						
						
						
					 
					
						2019-03-20 14:18:39 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						faaf41cdfb 
					 
					
						
						
							
							Fix basic_auth async builder to send capital "Basic"  
						
						... 
						
						
						
						Closes  #468  
					
						2019-03-20 14:11:40 -07:00 
						 
				 
			
				
					
						
							
							
								quininer 
							
						 
					 
					
						
						
							
						
						f02ca0ded0 
					 
					
						
						
							
							disable Nagle's for default-tls handshake  
						
						
						
						
					 
					
						2019-03-20 14:09:31 -07:00 
						 
				 
			
				
					
						
							
							
								quininer 
							
						 
					 
					
						
						
							
						
						47640170bb 
					 
					
						
						
							
							Add tcp_nodelay for Builder  
						
						
						
						
					 
					
						2019-03-20 14:09:31 -07:00 
						 
				 
			
				
					
						
							
							
								quininer 
							
						 
					 
					
						
						
							
						
						f5e7e883c7 
					 
					
						
						
							
							disable nagle algorithm for TLS handshake  
						
						
						
						
					 
					
						2019-03-20 14:09:31 -07:00 
						 
				 
			
				
					
						
							
							
								CJP10 
							
						 
					 
					
						
						
							
						
						a54bfc1a39 
					 
					
						
						
							
							added max_idle_per_host as an option to the builder ( #473 )  
						
						
						
						
					 
					
						2019-03-19 13:23:32 -07:00 
						 
				 
			
				
					
						
							
							
								quininer 
							
						 
					 
					
						
						
							
						
						3554b0ad26 
					 
					
						
						
							
							replace libflate with flate2 ( #476 )  
						
						
						
						
					 
					
						2019-03-19 13:21:43 -07:00 
						 
				 
			
				
					
						
							
							
								Frank Benkstein 
							
						 
					 
					
						
						
							
						
						08847cc9f5 
					 
					
						
						
							
							add bearer auth to async RequestBuilder ( #475 )  
						
						
						
						
					 
					
						2019-03-13 11:00:54 -07:00 
						 
				 
			
				
					
						
							
							
								quininer 
							
						 
					 
					
						
						
							
						
						a27db28deb 
					 
					
						
						
							
							fix proxy missing alpn ( #466 )  
						
						... 
						
						
						
						* fix  #459 
* disable alpn for proxy connection 
						
						
					 
					
						2019-03-06 11:02:55 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						d7475d61f2 
					 
					
						
						
							
							v0.9.11  
						
						
						
						
					 
					
						2019-03-04 11:41:54 -08:00 
						 
				 
			
				
					
						
							
							
								Ian Smith 
							
						 
					 
					
						
						
							
						
						215981e7a0 
					 
					
						
						
							
							Add percent_encode_noop configuration to Form ( #467 )  
						
						... 
						
						
						
						Some implementations of multipart/form parsing don't support alternate
encodings, but do allow unicode in 'standard' parameter values. This
change allows users to specify that they do not want to encode
parameters.
(See also: #419 , #420.) 
						
						
					 
					
						2019-03-04 11:21:35 -08:00 
						 
				 
			
				
					
						
							
							
								Antoine Carton 
							
						 
					 
					
						
						
							
						
						aa8348ba1e 
					 
					
						
						
							
							Add http1_title_case_headers option to ClientBuilder ( #463 )  
						
						
						
						
					 
					
						2019-02-27 13:21:50 -08:00 
						 
				 
			
				
					
						
							
							
								Constantin Nickel 
							
						 
					 
					
						
						
							
						
						4fba983e5e 
					 
					
						
						
							
							async/client: return a impl Future on execute()  
						
						
						
						
					 
					
						2019-02-20 17:59:12 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						cd0e4b3c2e 
					 
					
						
						
							
							Add Error::is_timeout() accessor  
						
						
						
						
					 
					
						2019-02-20 15:15:55 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						9e2b56ba56 
					 
					
						
						
							
							Add connect_timeout to async and sync clients  
						
						
						
						
					 
					
						2019-02-20 15:15:55 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						66db8d6283 
					 
					
						
						
							
							refactor connect_async module into connect module  
						
						
						
						
					 
					
						2019-02-20 15:15:55 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						5deb5705f5 
					 
					
						
						
							
							v0.9.10  
						
						
						
						
					 
					
						2019-02-18 11:54:14 -08:00 
						 
				 
			
				
					
						
							
							
								Manuel Alejandro 
							
						 
					 
					
						
						
							
						
						f96f9454fd 
					 
					
						
						
							
							Fixing Identity::from_pem which was failing when there was a PKCS1 RSA private key but not PKCS8 key ( #458 )  
						
						
						
						
					 
					
						2019-02-16 12:30:18 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Habib 
							
						 
					 
					
						
						
							
						
						e49f5ee404 
					 
					
						
						
							
							add Response::error_for_status_ref to allow borrowing ( #457 )  
						
						
						
						
					 
					
						2019-02-15 14:33:18 -08:00 
						 
				 
			
				
					
						
							
							
								Luca Bruno 
							
						 
					 
					
						
						
							
						
						0c84e6b9e9 
					 
					
						
						
							
							async/request: add a basic example for send()  
						
						
						
						
					 
					
						2019-02-15 10:33:57 -08:00 
						 
				 
			
				
					
						
							
							
								Luca Bruno 
							
						 
					 
					
						
						
							
						
						8b62f47ac3 
					 
					
						
						
							
							async/request: return a impl Future on send()  
						
						
						
						
					 
					
						2019-02-15 10:33:57 -08:00 
						 
				 
			
				
					
						
							
							
								Luca Bruno 
							
						 
					 
					
						
						
							
						
						5e38b419f0 
					 
					
						
						
							
							async/reponse: return a impl Future on json()  
						
						
						
						
					 
					
						2019-02-15 10:33:57 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						7eae51f56e 
					 
					
						
						
							
							add form-urlencoded unit test  
						
						
						
						
					 
					
						2019-02-13 11:46:12 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Habib 
							
						 
					 
					
						
						
							
						
						4dc679d535 
					 
					
						
						
							
							Add ClientBuilder::local_address option to bind to a local IP address ( #451 )  
						
						... 
						
						
						
						Closes  #414  
					
						2019-02-11 10:40:16 -08:00 
						 
				 
			
				
					
						
							
							
								Guus 
							
						 
					 
					
						
						
							
						
						8ed9e60351 
					 
					
						
						
							
							Correcting 404 on example/simple.rs ( #449 )  
						
						
						
						
					 
					
						2019-01-28 10:14:59 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						d2eee8591a 
					 
					
						
						
							
							v0.9.9  
						
						
						
						
					 
					
						2019-01-23 12:20:44 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						a9b79a8e30 
					 
					
						
						
							
							pick up hyper and http patches  
						
						
						
						
					 
					
						2019-01-23 12:18:03 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						cf33fc907c 
					 
					
						
						
							
							Document the multipart module  
						
						... 
						
						
						
						Closes  #444  
					
						2019-01-23 12:16:12 -08:00 
						 
				 
			
				
					
						
							
							
								quininer 
							
						 
					 
					
						
						
							
						
						b37e67b865 
					 
					
						
						
							
							update rustls ( #447 )  
						
						
						
						
					 
					
						2019-01-23 09:14:02 -08:00 
						 
				 
			
				
					
						
							
							
								Evan Schwartz 
							
						 
					 
					
						
						
							
						
						6e8e781f8f 
					 
					
						
						
							
							Add ClientBuilder::h2_prior_knowlege() ( #443 )  
						
						... 
						
						
						
						resolves https://github.com/seanmonstar/reqwest/issues/413  
						
						
					 
					
						2019-01-18 14:15:57 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						021851afd4 
					 
					
						
						
							
							Enable h2 ALPN with rustls-tls backend  
						
						
						
						
					 
					
						2019-01-18 11:53:56 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						68e98d54ea 
					 
					
						
						
							
							Add Response::content_length() method  
						
						
						
						
					 
					
						2019-01-18 11:42:27 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						c7dc8851a3 
					 
					
						
						
							
							remove duplicate keywords field from Cargo.toml  
						
						
						
						
					 
					
						2019-01-17 16:35:40 -08:00 
						 
				 
			
				
					
						
							
							
								puffybsd 
							
						 
					 
					
						
						
							
						
						56c1c02b84 
					 
					
						
						
							
							Fix bugs in README example ( #441 )  
						
						... 
						
						
						
						Fix missing > in method return signature, undeclared variable, and
adds return type to match method signature. 
						
						
					 
					
						2019-01-15 21:23:41 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						94535ece88 
					 
					
						
						
							
							add readme and keywords to Cargo.toml  
						
						
						
						
					 
					
						2019-01-15 17:50:48 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						a9e135412d 
					 
					
						
						
							
							Add more details to README  
						
						
						
						
					 
					
						2019-01-14 12:23:57 -08:00 
						 
				 
			
				
					
						
							
							
								Ben 
							
						 
					 
					
						
						
							
						
						68a4a3e63e 
					 
					
						
						
							
							Add json fetch example to readme ( #438 )  
						
						... 
						
						
						
						Closes  #428  
					
						2019-01-14 12:07:04 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						10c0e64711 
					 
					
						
						
							
							v0.9.8  
						
						
						
						
					 
					
						2019-01-11 17:33:29 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						4d221533a2 
					 
					
						
						
							
							Switch trust-dns to an off-by-default optional feature  
						
						
						
						
					 
					
						2019-01-11 17:30:10 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						81b4d26682 
					 
					
						
						
							
							Try to detect Certificate and Identity errors earlier  
						
						
						
						
					 
					
						2019-01-11 15:43:00 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						23e13304ef 
					 
					
						
						
							
							Disable trust-dns on Windows  
						
						... 
						
						
						
						Closes  #431  
					
						2019-01-11 12:34:03 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						ed1a6d4614 
					 
					
						
						
							
							Turn off verbose flag on AppVeyor  
						
						
						
						
					 
					
						2019-01-11 11:42:27 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						a8174feca4 
					 
					
						
						
							
							v0.9.7  
						
						
						
						
					 
					
						2019-01-10 13:58:23 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						313d49c47a 
					 
					
						
						
							
							update AppVeyor badge to use master branch  
						
						
						
						
					 
					
						2019-01-10 13:55:50 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						2649f9ab56 
					 
					
						
						
							
							Remove trust-dns when target_os is Android  
						
						
						
						
					 
					
						2019-01-10 13:52:35 -08:00