Rich Megginson and Honza Král
fe6e9a7f5c
Urllib3HttpConnection should have separate client_cert and client_key arguments #344
...
https://github.com/elastic/elasticsearch-py/issues/344
Add a client_key parameter to complement the client_cert parameter. If
client_key is used, it is assumed that client_cert will contain only the
certificate, not the combined cert and key in a single file.
Closes #344
2016-02-29 22:35:40 +01:00
Darryl Ring and Honza Král
a9b8f86547
Log response body for failed requests
...
Addresses #346
2016-02-01 09:32:43 +01:00
Honza Král
efc1156bd5
add description of the basic params for Urllib3HttpConnection
2015-11-19 11:10:07 -06:00
Chris Earle and Honza Král
f3315dc98d
Adding assert_hostname and assert_fingerprint parameters to Urllib3HttpConnection
2015-11-10 16:15:56 +09:00
Honza Král
845f8cd6f5
Adding ssl_version parameter to Urllib3HttpConnection
...
Fixes #246
2015-07-06 18:09:44 +02:00
Honza Král
d328998b36
Add keep_alive headers by default to Urllib3HttpConnection
2015-06-22 20:39:58 +02:00
Honza Král
b92d591026
Make method utf-8 for urllib3
...
fixes #201
2015-02-26 14:14:33 -08:00
Honza Král
271fc4d232
Warn when people using insecure options.
2015-01-29 23:46:01 +01:00
Honza Král
03a817690d
Added support for client SSL certificates for https
...
Thanks almer-fuel for the inital patch!
2014-11-14 15:31:49 +01:00
Honza Král
fedcfafe7e
Proper SSL implementation, including optional certificate verification
2014-11-11 03:20:16 +01:00
Honza Král
d9296e85b9
Timeout should not trigger a retry by default
2014-11-10 23:52:26 +01:00
Honza Král
ecfeb93a6f
Introducing a ConnectionTimeout as a subclass of ConnectionError
...
This is to enable #128 to work
2014-10-03 18:49:07 +02:00
Honza Král
f93a79aedd
Add explanation of url encoding
2014-10-03 17:32:11 +02:00
Honza Král
5fec49e261
Make sure url is a string, not unicode in python 2
...
Fixes #133 , thanks sheIIdon!
2014-10-01 17:31:38 +02:00
Honza Král
20aa35d791
Urllib3 will fill in the content-length automatically
2014-10-01 16:42:04 +02:00
Honza Král
49b7a1aca9
Make sure to include Content-Length header in calls with body
...
Fixes #70
2014-03-31 16:41:08 -07:00
Honza Král
b78bce79df
Make sure urllib3 doesn't do retries.
2014-03-01 01:25:25 +01:00
Honza Král
a54d7035bb
Compatibility with python 3.2
...
Now all the python 2/3 compatibility code is in elasticsearch.compat
Fixes #52
2014-02-21 16:59:13 +01:00
Honza Král
c2611e92eb
Set timeout properly for Requests and Thrift connections
2014-01-23 08:48:42 +01:00
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
c5c98dcaac
Add logging of body as INFO on connection error
2013-12-03 01:55:32 +01:00
Honza Král
1c279d5aad
By default allow 10 connections to be held to the server
2013-11-19 22:31:25 +01:00
Richard Boulton
e8439372d6
Allow the maxsize parameter to be passed to the urllib3 connection pool
2013-11-19 16:45:39 +00:00
Honza Kral
45403c9f2d
Moved Urllib3HttpConnection to it's own module
2013-10-04 15:46:41 +02:00