Wykres commitów

11 Commity (f97158206936ab91f8c2e3ad5e50ad60b227e4f7)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 2e834672aa urequests: content: Use finally to close socket regardless of possible error. 2017-09-13 15:17:28 +03:00
Paul Sokolovsky 586ae64cb0 urequests: If error happens while parsing response headers, close socket.
Because otherwise, user doesn't get any response object, so cannot close
socket, and it leaks.
2017-09-13 09:38:07 +03:00
Paul Sokolovsky 78ce2a8957 urequests: Add server_hostname param to ussl.wrap_socket() call. 2017-06-14 19:37:08 +03:00
Paul Sokolovsky 0a02e2dfff urequests: Subscript getaddrinfo() result with -1. 2017-05-01 15:28:56 +03:00
jens persson 6ce081133c urequests: A Location-header with a 2XX status is not a redirect.
When using the POST method you get the Location of the new
object in a Location header but it's not a redirect.
For details see for example RFC2616 10.2.2 and 10.2.3
2017-03-25 17:45:51 +03:00
Paul Sokolovsky f0b8d9b7ca urequests: Fix stale variable name (line -> l). 2016-12-10 17:56:44 +03:00
Paul Sokolovsky c4ee3acba5 urequests: Actually implement user-defined headers support. 2016-06-09 18:58:19 +03:00
Paul Sokolovsky d120749191 urequests: Add support for HTTPS. 2016-05-31 00:46:45 +03:00
Gary Bake 7862b6df44 urequests: Support explicit port number in a URL. 2016-05-22 01:49:52 +03:00
Paul Sokolovsky f9c2f63ada urequests: request(): Add "json" param from Requests 2.4.2.
Allow to pass data to be JSON-encoded automatically.
2016-05-03 16:23:02 +03:00
Paul Sokolovsky ae525eac87 urequests: Initial version of micro-requests.
The idea is to provide some subset of interface of Requests
(python-requests.org).
2016-03-07 14:34:03 +07:00