Commit Graph
24 Commits
Author SHA1 Message Date
Honza Král e2ab7ea80d Adding a third return value from connection.perform_request - headers
This will be used to implement deserializing based on mimetype
2013-12-13 19:36:21 +01:00
Honza Král be9acfad90 Make sure we handle quotes correctly in the trace logger 2013-12-11 14:41:42 +01:00
Honza Král 4bce8a464c Added more detailed error handling
namely being able to detect conflicts and bad requests
2013-11-14 01:12:55 +01:00
Honza Král 68b19ebe55 Fixed test after log format change 2013-11-03 22:44:16 +01:00
Honza Kral cc524e9c9d Python 3 fix fo tests 2013-10-06 17:43:45 +02:00
Honza Kral 92c7dde5e0 Removing redundant code 2013-10-02 01:04:50 +02:00
Njal KarevollandHonza Kral 6a0f5c7646 urllib3: add a test to verify that providing http_auth as a list works 2013-10-02 01:01:30 +02:00
Honza Kral 1a9fd9e105 Remove duplicate test 2013-10-02 01:01:05 +02:00
Njal KarevollandHonza Kral 4037de58d0 requests: add tests to verify that providing http_auth as a list works and that the authorization headers are added to the request 2013-10-02 01:00:11 +02:00
Honza Kral 5fccd1e793 Allow lists for http_auth in RequestsHttpConnection
thanks nkvoll!
2013-10-02 00:42:38 +02:00
Honza Kral b0587071b6 Circumvent prepared requests from RequestsHttpConnection
this is because sesion.send(prepared_request) doesn't pass through auth
info. Thanks nkvoll!

Fixes #8
2013-10-02 00:39:19 +02:00
Honza Kral 33b05bdc62 Thrift SSL support 2013-09-25 21:31:10 +02:00
Honza Kral 490fd237ee rename use_https to use_ssl to make it forwards copatible with thrift 2013-09-25 21:07:29 +02:00
Honza Kral b724288d76 Https support for the http-based transports.
Thanks, nkvoll!
2013-09-24 23:07:14 +02:00
Honza Kral 7a440fda4a Support for HTTP auth. Thanks, nkvoll! 2013-09-24 22:55:04 +02:00
Honza Kral fe7cc106f6 Use unittest2 even for python 2.6 2013-08-28 19:11:28 +02:00
Honza Kral e91ed68bd0 Split individual connection classes 2013-08-25 16:39:56 +02:00
Honza Kral 476b1ca132 expose timeout on Connection class 2013-05-24 01:25:19 +02:00
Honza Kral a70db43abd Enable url_prefix for Connection, do not include it in trace calls 2013-05-23 22:15:55 +02:00
Honza Kral b22012b1a7 Connection's repr test 2013-05-02 15:41:22 +02:00
Honza Kral a7e3b95e01 Make tests pass on sloow machines 2013-05-02 15:36:53 +02:00
Honza Kral 0fd398a0d5 Error logging 2013-05-02 00:41:27 +02:00
Honza Kral ebd6370e59 Add logging on successful request 2013-05-02 00:34:46 +02:00
Honza Kral 71daa6ef14 RequestsHttpConnection class handling the actual http communication 2013-05-01 21:55:44 +02:00