Commit Graph

47 Commits

Author SHA1 Message Date
Sean McArthur
02d9651280 update license copyright year 2016-12-13 15:47:28 -08:00
Bryce Fisher-Fleig
add83c2324 Clarify Requirements for using this crate 2016-12-12 11:04:28 -08:00
Sean McArthur
2ff998cf16 add AppVeyor status badge to readme 2016-12-12 11:00:30 -08:00
Sean McArthur
7c2e163333 remove (todo redirect policy) from docs 2016-12-12 10:36:20 -08:00
Sean McArthur
4527a53181 remove Clone impl from Client 2016-12-12 10:31:20 -08:00
Sean McArthur
559ae8011a add header if no Accept is set 2016-12-12 10:29:14 -08:00
Sean McArthur
a317339deb Merge pull request #29 from seanmonstar/redirect-policy
add support for defining RedirectPolicy for a Client
2016-12-10 09:45:46 -10:00
Sean McArthur
e92b3e862a add support for defining RedirectPolicy for a Client 2016-12-10 11:36:22 -08:00
Sean McArthur
6ef73ae206 switch test server to 127.0.0.1 2016-12-10 11:20:01 -08:00
Sean McArthur
d18a53b3fc make Client: Send + Sync, RequestBuilder: Send, Response: Send 2016-12-02 15:36:33 -08:00
Sean McArthur
552f4712cd add osx test target, allow nightly to fail 2016-12-02 11:57:30 -08:00
Sean McArthur
ffaf6647de add appveyor ci 2016-12-02 11:52:24 -08:00
Sean McArthur
409edadff7 Merge pull request #21 from seanmonstar/aidanhs-aphs-307-308
Add handling of 307 and 308 redirects
2016-11-29 10:22:19 -08:00
Sean McArthur
dbfaf9c842 add a note to about redirects 2016-11-29 10:14:21 -08:00
Sean McArthur
3544e48e8e dont try to redirect if post body cannot be reset 2016-11-28 11:36:42 -08:00
Aidan Hobson Sayers
a54447c1d9 Add handling of 307 and 308 redirects
Fixes #9
2016-11-28 11:06:42 -08:00
Sean McArthur
9e70497781 add integration tests 2016-11-28 09:53:16 -08:00
Sean McArthur
20b161096e update Error to implement Send
BREAKING CHANGE: This does change the type of `Error::Serialize`, but
  should only possibly affect those constructing `Error`, not consuming it.
2016-11-21 14:43:28 -08:00
Sean McArthur
a580af2a22 move Read impl of Body to private function 2016-11-21 11:47:07 -08:00
Sean McArthur
85c8c7bd64 Merge pull request #19 from gsquire/response-json
JSON Response reader
2016-11-21 11:03:11 -08:00
Sean McArthur
5c86269a20 Merge pull request #20 from Michael-F-Bryan/testing
Added some trivial tests for the RequestBuilder
2016-11-21 11:01:22 -08:00
Michael Bryan
59ba7cf23b test: Fixed up issue with reading a Body and finished RequestBuilder tests 2016-11-21 11:45:05 +08:00
Garrett Squire
2d10ecc99e add the ability to deserialize JSON from a response body directly 2016-11-20 13:11:11 -08:00
Michael Bryan
980488f918 test: Added some trivial tests for the RequestBuilder 2016-11-20 22:26:27 +08:00
Sean McArthur
6967f92cb9 Merge pull request #12 from sdroege/master
Implement std::fmt::Debug for all public types
2016-11-14 11:11:12 -08:00
Sebastian Dröge
d624b0ef29 Implement std::fmt::Debug for all public types 2016-11-14 20:54:18 +02:00
Sean McArthur
37800f84d3 v0.1.0 2016-11-09 17:22:08 -08:00
Sean McArthur
a0480913dd update native-tls to 0.1 2016-11-09 13:10:55 -08:00
Sean McArthur
a6771a5618 fix travis badge link 2016-11-08 18:58:09 -08:00
Sean McArthur
4f9e39829c a few fixes 2016-11-08 18:56:49 -08:00
Sean McArthur
1741efc089 update readme with typical things 2016-11-08 18:55:59 -08:00
Sean McArthur
289659e822 add travis ci 2016-11-08 14:40:26 -08:00
Sean McArthur
fb3c229483 add 303 status code to redirect policy 2016-11-08 13:35:18 -08:00
Sean McArthur
5739bd3050 Merge branch 'form' 2016-11-08 13:33:26 -08:00
Sean McArthur
06f94f4744 add form() method 2016-11-08 13:33:08 -08:00
Sean McArthur
0027d9c288 Merge pull request #8 from anowell/native-tls-update
Update to reflect latest native-tls API
2016-11-08 10:51:39 -08:00
Sean McArthur
ef3c991696 Merge pull request #7 from anowell/file-body
Body conversion for File
2016-11-08 10:50:33 -08:00
Anthony Nowell
92825974b0 Update to reflect latest native-tls API 2016-11-08 02:57:08 -07:00
Anthony Nowell
45d6169610 Body conversion for File 2016-11-08 01:14:18 -07:00
Sean McArthur
9677cfe419 Merge pull request #6 from anowell/exports
Export Body and RequestBuilder for client wrappers
2016-11-07 15:42:39 -08:00
Anthony Nowell
7109126e40 Export Body and RequestBuilder for client wrappers 2016-10-29 22:40:42 -06:00
Sean McArthur
5479d9e8b8 handle redirects 2016-10-25 12:26:01 -07:00
Sean McArthur
1259128d92 add native-tls and serde json support 2016-10-22 21:48:29 -07:00
Sean McArthur
bfd95e3194 add more to manifest 2016-10-16 10:28:12 -07:00
Sean McArthur
15e59c1c6d use current hyper for now 2016-10-16 10:26:04 -07:00
Sean McArthur
d78eff6918 improvements 2016-10-16 09:40:28 -07:00
Sean McArthur
9bfdcec052 init 2016-06-30 17:23:51 -07:00