James Kominick 
							
						 
					 
					
						
						
							
						
						3cbb6cd210 
					 
					
						
						
							
							RequestBuilder doc improvements  
						
						... 
						
						
						
						- document `body`, `headers`, `basic_auth` methods 
						
						
					 
					
						2017-06-09 16:21:01 -04:00 
						 
				 
			
				
					
						
							
							
								James Kominick 
							
						 
					 
					
						
						
							
						
						3de6f24785 
					 
					
						
						
							
							Response doc improvements  
						
						... 
						
						
						
						- Add doc examples for the usage of `Response`s `url`, `status`,
  and `headers` methods 
						
						
					 
					
						2017-06-08 23:28:35 -04:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						cb9a45b8a4 
					 
					
						
						
							
							change Response::status() to return StatusCode by value  
						
						
						
						
					 
					
						2017-06-07 18:11:05 -07:00 
						 
				 
			
				
					
						
							
							
								theduke 
							
						 
					 
					
						
						
							
						
						583fceb51f 
					 
					
						
						
							
							Move try_ macro to error.rs.  
						
						... 
						
						
						
						Fixes  #109 . 
					
						2017-06-07 18:07:22 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						e45f234b4a 
					 
					
						
						
							
							fix socket_is_dead on windows  
						
						
						
						
					 
					
						2017-06-07 17:02:15 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						006368f77c 
					 
					
						
						
							
							Merge pull request  #139  from jaemk/docs  
						
						... 
						
						
						
						Body constructor doc examples 
						
						
					 
					
						2017-06-06 14:14:57 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						00382f8d06 
					 
					
						
						
							
							use a stale check in the pool  
						
						... 
						
						
						
						Check that a socket is not EOF to reduce the likelihood of using
a bad pooled connection. 
						
						
					 
					
						2017-06-06 13:31:28 -07:00 
						 
				 
			
				
					
						
							
							
								James Kominick 
							
						 
					 
					
						
						
							
						
						ccd2853451 
					 
					
						
						
							
							Body constructor doc examples  
						
						... 
						
						
						
						- Use a file & filesize in `Body::sized` example
- Point out the available `From` impls on `Body` for constructing
  reusable `Body`s 
						
						
					 
					
						2017-06-06 10:27:29 -04:00 
						 
				 
			
				
					
						
							
							
								James Kominick 
							
						 
					 
					
						
						
							
						
						c1e422ee03 
					 
					
						
						
							
							Body constructor doc examples  
						
						... 
						
						
						
						- Add doc examples for `Body` constructors 
						
						
					 
					
						2017-06-05 23:25:21 -04:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						9c258cc7e9 
					 
					
						
						
							
							Merge pull request  #138  from budziq/error_docs_update  
						
						... 
						
						
						
						Error docs update 
						
						
					 
					
						2017-06-03 23:21:59 -07:00 
						 
				 
			
				
					
						
							
							
								Michal Budzynski 
							
						 
					 
					
						
						
							
						
						e3bf6756f4 
					 
					
						
						
							
							Added missing "Errors" and "Panics" sections to request.rs and response.rs  
						
						
						
						
					 
					
						2017-06-04 04:49:33 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Budzynski 
							
						 
					 
					
						
						
							
						
						026dca2512 
					 
					
						
						
							
							Added missing "Errors" sections to client.rs and lib.rs  
						
						
						
						
					 
					
						2017-06-04 04:48:13 +02:00 
						 
				 
			
				
					
						
							
							
								Michal Budzynski 
							
						 
					 
					
						
						
							
						
						40887488cf 
					 
					
						
						
							
							Exposed RedirectAction and RedirectAttempt  
						
						... 
						
						
						
						- also added minimal doc to RedirectAttempt to satisfy #![deny(missing_docs)]
- added links to `RedirectPolicy::Custom` docs 
						
						
					 
					
						2017-06-04 03:21:50 +02:00 
						 
				 
			
				
					
						
							
							
								Alisha 
							
						 
					 
					
						
						
							
						
						31da9da392 
					 
					
						
						
							
							? instead of unwrap in example  
						
						
						
						
					 
					
						2017-06-03 04:47:31 +10:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						7fc47fb908 
					 
					
						
						
							
							remove all public mention of HttpVersion  
						
						... 
						
						
						
						Closes  #123  
					
						2017-06-01 17:02:59 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						e176dcebca 
					 
					
						
						
							
							convert RequestBuilder to a &mut Self builder  
						
						... 
						
						
						
						Closes  #108  
					
						2017-06-01 16:23:16 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						546880cea9 
					 
					
						
						
							
							Merge pull request  #131  from tomprince/hide-internal-conversions  
						
						... 
						
						
						
						Hide internal conversions to `reqwest::Error`. 
						
						
					 
					
						2017-06-01 15:55:07 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						8c2d26759e 
					 
					
						
						
							
							Merge pull request  #133  from budziq/html_root_url  
						
						... 
						
						
						
						Point html_root_url to docs.rs 
						
						
					 
					
						2017-06-01 15:54:27 -07:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						83c71d4465 
					 
					
						
						
							
							Hide internal conversions to reqwest::Error.  
						
						
						
						
					 
					
						2017-06-01 14:10:59 -06:00 
						 
				 
			
				
					
						
							
							
								Michal Budzynski 
							
						 
					 
					
						
						
							
						
						0ffeb074b6 
					 
					
						
						
							
							Point html_root_url to docs.rs  
						
						
						
						
					 
					
						2017-06-01 09:50:19 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						0f37eb0ce0 
					 
					
						
						
							
							Make Error::get_ref return a Send+Sync error.  
						
						
						
						
					 
					
						2017-05-31 23:16:44 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						a36ed4a87a 
					 
					
						
						
							
							Add a conversion from native_tls::Error.  
						
						
						
						
					 
					
						2017-05-31 19:27:45 -06:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						8d784faa98 
					 
					
						
						
							
							move all configuration from Client to ClientBuilder  
						
						
						
						
					 
					
						2017-05-31 18:14:47 -07:00 
						 
				 
			
				
					
						
							
							
								Corentin Henry 
							
						 
					 
					
						
						
							
						
						0f0bf882d9 
					 
					
						
						
							
							add an error section to RequestBuilder.json  
						
						
						
						
					 
					
						2017-05-31 17:50:20 -07:00 
						 
				 
			
				
					
						
							
							
								Corentin Henry 
							
						 
					 
					
						
						
							
						
						20f2896ab4 
					 
					
						
						
							
							tweak add_json_fail test  
						
						
						
						
					 
					
						2017-05-31 17:41:48 -07:00 
						 
				 
			
				
					
						
							
							
								Corentin Henry 
							
						 
					 
					
						
						
							
						
						80a80379d3 
					 
					
						
						
							
							update json tests  
						
						
						
						
					 
					
						2017-05-31 16:42:44 -07:00 
						 
				 
			
				
					
						
							
							
								Corentin Henry 
							
						 
					 
					
						
						
							
						
						2f1b3b352b 
					 
					
						
						
							
							handle json serialization errors  
						
						... 
						
						
						
						fixes https://github.com/seanmonstar/reqwest/issues/112  
						
						
					 
					
						2017-05-31 16:41:45 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						7565179a1c 
					 
					
						
						
							
							add Request.method_mut, remove set_*  
						
						
						
						
					 
					
						2017-05-31 16:11:23 -07:00 
						 
				 
			
				
					
						
							
							
								theduke 
							
						 
					 
					
						
						
							
						
						e9f464aa7e 
					 
					
						
						
							
							Add a Request type and refactor execution.  
						
						... 
						
						
						
						A Request can be obtained with RequestBuilder::build(), and executed
with Client::execute().
The RequestBuilder now also builds a Request and forwards it to the
inner client.
The execution logic was moved from Requestbuilder::send() to
ClientRef::execute_request(). 
						
						
					 
					
						2017-05-31 16:06:07 -07:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						9d6f487646 
					 
					
						
						
							
							Use block-style for try_!.  
						
						
						
						
					 
					
						2017-05-31 15:00:12 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						25d16f53d5 
					 
					
						
						
							
							Some final rustfmt changes.  
						
						
						
						
					 
					
						2017-05-31 14:50:32 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						a2c24a4009 
					 
					
						
						
							
							Some slightly less trivial rustfmt changes.  
						
						
						
						
					 
					
						2017-05-31 14:50:32 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						4c60e6d35f 
					 
					
						
						
							
							Really trivial rustfmt changes.  
						
						
						
						
					 
					
						2017-05-31 14:50:32 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						427602fb08 
					 
					
						
						
							
							Move constraint into where clause.  
						
						
						
						
					 
					
						2017-05-31 14:21:16 -06:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						82a6eb4939 
					 
					
						
						
							
							update ClientBuilder to match builder pattern  
						
						
						
						
					 
					
						2017-05-31 11:38:02 -07:00 
						 
				 
			
				
					
						
							
							
								Corentin Henry 
							
						 
					 
					
						
						
							
						
						4b2eda7d29 
					 
					
						
						
							
							add custom certificates & disabling hostname verif  
						
						
						
						
					 
					
						2017-05-31 11:38:02 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						001528b029 
					 
					
						
						
							
							Merge pull request  #100  from theduke/improve-basic-auth  
						
						... 
						
						
						
						Improve type signature of RequestBuilder::basic_auth(). 
						
						
					 
					
						2017-05-26 13:56:55 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						4bdbd56f1a 
					 
					
						
						
							
							Merge pull request  #99  from jaemk/update_examples  
						
						... 
						
						
						
						update example error handling 
						
						
					 
					
						2017-05-23 23:26:48 -05:00 
						 
				 
			
				
					
						
							
							
								Corentin Henry 
							
						 
					 
					
						
						
							
						
						6cde2e538e 
					 
					
						
						
							
							Fix build for nightly-2017-05-22  
						
						... 
						
						
						
						Compilation fails with nightly-2017-05-22:
```
error: unused macro definition
   --> src/error.rs:188:1
    |
188 | / macro_rules! try_ {
189 | |     ($e:expr) => (
190 | |         match $e {
191 | |             Ok(v) => v,
...   |
204 | |     )
205 | | }
    | |_^
    |
    = note: #[deny(unused_macros)] implied by #[deny(warnings)]
note: lint level defined here
   --> src/lib.rs:1:9
    |
1   | #![deny(warnings)]
    |         ^^^^^^^^
```
Removing the duplicate (and unused) `try_!` macro in error.rs fixes the
warning. 
						
						
					 
					
						2017-05-23 17:11:01 -07:00 
						 
				 
			
				
					
						
							
							
								theduke 
							
						 
					 
					
						
						
							
						
						60295dd0fc 
					 
					
						
						
							
							Improve type signature of RequestBuilder::basic_auth().  
						
						... 
						
						
						
						Use Into<String> for both arguments to make the API more convenient. 
						
						
					 
					
						2017-05-23 23:59:53 +02:00 
						 
				 
			
				
					
						
							
							
								James Kominick 
							
						 
					 
					
						
						
							
						
						812c220e61 
					 
					
						
						
							
							update doc examples  
						
						... 
						
						
						
						- Make examples runnable for doc tests
- Add error handling using `?` instead of `unwrap` 
						
						
					 
					
						2017-05-21 17:14:32 -04:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						32907dc100 
					 
					
						
						
							
							touch up Client doc example  
						
						
						
						
					 
					
						2017-05-18 14:35:22 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						dfaf25d1cb 
					 
					
						
						
							
							add defaults to docs about gzip and redirect  
						
						
						
						
					 
					
						2017-05-18 11:29:32 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						d8696045b4 
					 
					
						
						
							
							referer updates  
						
						... 
						
						
						
						- Don't set Referer if going from https to http
- Explicitly remove username, password, and fragment from Referer 
						
						
					 
					
						2017-05-18 11:26:28 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						e00a64aa18 
					 
					
						
						
							
							make sensitive header check include port  
						
						... 
						
						
						
						- adjusts to use &mut Headers
- add integration test 
						
						
					 
					
						2017-05-18 10:58:41 -07:00 
						 
				 
			
				
					
						
							
							
								Steve Robinson 
							
						 
					 
					
						
						
							
						
						21a28dffd1 
					 
					
						
						
							
							Filters sensitive headers when redirecting to a Location of different host than of the Referrer  
						
						... 
						
						
						
						Removes Cookie, Authorization and WWW-Authenticate cookies.
Resolves  #10  
						
						
					 
					
						2017-05-18 10:57:10 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						5a078cd1be 
					 
					
						
						
							
							remove unintended export of private try_ macro  
						
						
						
						
					 
					
						2017-05-18 10:57:10 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						bafcd7ae6f 
					 
					
						
						
							
							add a referer() option to disable setting Referer header on redirects  
						
						
						
						
					 
					
						2017-05-18 10:56:39 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						57359a6e2f 
					 
					
						
						
							
							remove unintended export of private try_ macro  
						
						
						
						
					 
					
						2017-05-18 09:22:00 -07:00 
						 
				 
			
				
					
						
							
							
								Raphaël Huchet 
							
						 
					 
					
						
						
							
						
						6a95a7e19e 
					 
					
						
						
							
							Update client.rs  
						
						
						
						
					 
					
						2017-05-15 23:37:31 +02:00