anentropic
fdec88de99
example looked wrong
...
From what I can tell from the source code (down thru urllib3) the key in the `files` dict is always the 'fieldname', while specifying a custom filename is optional.
So in this example it is confusing to have a fieldname of 'report.xls' (the filename) where all the other examples use a fieldname of 'file'.
2012-08-02 13:56:12 +02:00
Kenneth Reitz
b47418533a
Merge pull request #744 from tax/develop
...
Set content type before authentication
2012-07-30 18:13:17 -07:00
Kenneth Reitz
758cd24033
donate
2012-07-28 17:07:53 -04:00
Kenneth Reitz
027effd585
Merge remote-tracking branch 'origin/develop' into develop
2012-07-28 16:56:49 -04:00
Kenneth Reitz
ca7ee68656
setup.py
2012-07-28 16:56:14 -04:00
Kenneth Reitz
72f7cbfdc1
gittip
2012-07-28 16:56:00 -04:00
Paul
5e175ef24c
Set content type before authentication
...
AWS S3 authentication adds content type header (when it exist) to
canonical string that is signed. Since it is set after authentication
is done authentication on S3 fails
2012-07-27 19:18:13 +08:00
Cory Benfield
02dcc40acd
Failing test for Issue #737 .
2012-07-27 09:49:39 +01:00
Kenneth Reitz
9abc9ad1b3
v0.13.5
v0.13.5
2012-07-27 03:23:33 -04:00
Kenneth Reitz
767751599e
v0.13.4
v0.13.4
2012-07-27 02:21:56 -04:00
Kenneth Reitz
82d343fa00
disable tricky tests
2012-07-27 02:18:31 -04:00
Kenneth Reitz
e0fed46561
Solves #722
2012-07-27 01:48:25 -04:00
Kenneth Reitz
d74d61e97e
changes
2012-07-27 01:40:09 -04:00
Kenneth Reitz
81207783a2
Merge remote-tracking branch 'origin/develop' into develop
2012-07-27 01:39:21 -04:00
Kenneth Reitz
c65065177f
ordered dict
2012-07-27 01:39:17 -04:00
Kenneth Reitz
bc63617da2
Merge pull request #647 from mkomitee/kerberos
...
Implement GSSAPI/Kerberos authentication for requests
2012-07-26 22:36:41 -07:00
Kenneth Reitz
31e768f134
Merge pull request #729 from vickimo/issue_661
...
Added needed cast for when POSTing data and files (Issue #661 )
2012-07-26 22:33:51 -07:00
Kenneth Reitz
e02fb2eb6c
urllib update and junks
2012-07-27 01:32:01 -04:00
Kenneth Reitz
0d9ab27b02
Merge pull request #736 from Lukasa/develop
...
Make OAuth path hack platform independent.
2012-07-26 22:29:58 -07:00
Kenneth Reitz
0af7ca7b27
Merge pull request #739 from saevarom/develop
...
Appengine workaround
2012-07-26 22:29:17 -07:00
Sævar Öfjörð Magnússon
350be4a549
Appengine workaround
2012-07-25 16:06:26 +00:00
Cory Benfield
55237ad67d
Comment typo fix and move newline.
2012-07-25 13:24:38 +01:00
Kenneth Reitz
52b55ccfbc
Merge pull request #734 from doismellburning/verbose_http_errors
...
Include response.reason in raised HTTPErrors
2012-07-24 06:46:34 -07:00
Cory Benfield
79aa9edde1
Make OAuth path hack platform independent.
2012-07-21 18:11:00 +01:00
Kristian Glass
c485928a9f
Include reason rather than content in raised HTTPErrors
...
See https://github.com/kennethreitz/requests/pull/733 for details, TL;DR
content is too free-form for this to generally be a good idea.
2012-07-20 19:26:08 +01:00
Kristian Glass
6eb1ac4452
Include response.content in raised HTTPErrors
2012-07-20 18:50:04 +01:00
Kenneth Reitz
876e1744b1
Merge pull request #731 from jorjun/patch-1
...
breaks under python 2.7, without the from __future__ import
2012-07-18 07:44:37 -07:00
jorjun
2c241d2801
breaks under python 2.7, without the from __future__ import
2012-07-18 12:58:55 +02:00
Kenneth Reitz
73815e2ed0
Merge pull request #727 from vickimo/issue_547
...
Fix infinite loop on wrong Digest Authentication (Issue #541 and #547 )
2012-07-14 15:48:07 -07:00
Victoria Mo
f9c0ddf46d
Added needed cast for when POSTing data and files (Issue #661 )
...
Co-Authored By: Timnit Gebru <tgebru@gmail.com >
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com >
Co-Authored By: Leila Muhtasib <muhtasib@gmail.com >
2012-07-14 18:28:34 -04:00
Victoria Mo
5296b8be90
Fix infinite loop on wrong Digest Authentication (Issue #547 )
...
Modified code to use the current fix versus the old fix, which was broken.
Co-Authored By: Timnit Gebru <tgebru@gmail.com >
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com >
Co-Authored By: Leila Muhtasib <muhtasib@gmail.com >
2012-07-14 16:09:13 -04:00
Kenneth Reitz
a97a513390
Merge pull request #725 from muhtasib/Timeout_Fix
...
Differentiate between two types of timeout errors from urllib3
2012-07-13 13:49:12 -07:00
Leila Muhtasib
318f2460ee
Differentiate between two types of timeout errors from urllib3
...
Bubble up error message from urllib3 to indicate to user
whether error was a socket timeout vs a no connections
available in connection pool error.
Co-Authored By: Sarah Gonzalez
2012-07-13 15:20:05 -04:00
Kenneth Reitz
c3ab38ed6f
Merge pull request #721 from karlcow/develop
...
adding clarification to the history API.
2012-07-12 14:13:36 -07:00
karl
9fe4a99365
adding clarification to the history API. It was not clear how the history list was sorted.
2012-07-12 16:34:28 -04:00
Kenneth Reitz
884fc333a1
makin' history
v0.13.3
2012-07-12 13:18:35 -07:00
Kenneth Reitz
902d174d21
v0.13.3
2012-07-12 13:12:54 -07:00
Kenneth Reitz
b222ff9477
Merge branch 'develop' of git://github.com/siebenschlaefer/requests into develop
...
Conflicts:
AUTHORS.rst
2012-07-12 12:06:43 -07:00
Kenneth Reitz
baa2355e4e
Merge pull request #717 from ms4py/patch-2
...
Updated documentation
2012-07-12 00:28:59 -07:00
Marc Schlaich
ea99d5e0d9
This shouldn't be here anymore.
2012-07-12 10:22:12 +03:00
Kenneth Reitz
23aa6c44a9
Merge pull request #715 from Lukasa/develop
...
Do not hide SSLErrors behind Timeouts.
2012-07-12 00:09:21 -07:00
Cory Benfield
523906c54f
Do not hide SSLErrors behind Timeouts.
2012-07-11 17:31:59 +01:00
Kenneth Reitz
c19ff0388e
Merge pull request #714 from muhtasib/develop
...
Documentation Update
2012-07-10 15:48:07 -07:00
muhtasib
6413c063ed
Fix minor formatting issue.
2012-07-10 19:34:29 -03:00
Leila Muhtasib
051d3bb601
Updated documentation for SSL client cert usuage.
...
Co-Authored By: Timnit Gebru <tgebru@gmail.com >
Co-Authored By: Sarah Gonzalez <smar.gonz@gmail.com >
Co-Authored By: Victoria Mo <vm2355@columbia.edu >
2012-07-10 18:25:32 -04:00
Matthias Rahlf
08cebb3c2f
fixed param handling in Request.full_url
2012-07-10 01:06:02 +02:00
Kenneth Reitz
b7fd0e81fd
Merge pull request #709 from dstufft/develop
...
Have User Agent include more details
2012-07-08 00:42:17 -07:00
Donald Stufft
21f60fe8df
Move the user agent generation into it's own utility function
2012-07-08 00:47:24 -04:00
Donald Stufft
523433f26c
Readd default that was accidently removed
2012-07-08 00:37:23 -04:00
Kenneth Reitz
c089993a0f
#710
2012-07-08 00:27:26 -04:00