Commit Graph

4288 Commits

Author SHA1 Message Date
Kevin Burke e94c812c2d Clarify that SSL verification is on by default
Generally if a kwarg is present it indicates that an option other than the
default is being specified. Putting `verify=True` in the first code sample
for SSL confused me, because it seemed to indicate that you had to specify
`verify=True` to get SSL verification. The opposite is true; SSL verification
is turned on by default and you have to specify `verify=False` to opt out of
SSL verification.

Updates the docs to make this more clear. Furthermore, connections to
https://kennethreitz.com currently time out instead of presenting an invalid
certificate, so I replaced this domain with https://requestb.in, which presents
the same error message as is currently there.
2016-03-17 08:16:56 -07:00
Ian Cordasco 190cddd4ae Merge pull request #3036 from Lukasa/issue/3035
Allow for exceptions from tell()
2016-03-11 07:30:53 -06:00
Cory Benfield 90a166d44a Release note. 2016-03-11 09:57:59 +00:00
kennethreitz 3a26d13b52 Merge pull request #3041 from bsandrow/patch-2
Fix autofunction Reference
2016-03-09 03:59:44 -05:00
kennethreitz fe475f5d46 Merge pull request #3042 from bsandrow/patch-1
Fix api.rst References
2016-03-09 00:35:45 -05:00
Brandon Sandrowicz f0d5a1f230 Fix autofunction Reference
`request.codes` is a class (`LookupDict`), not a function.
2016-03-08 23:57:54 -05:00
Brandon Sandrowicz ee060ba7f3 Fix api.rst References
api.rst references `requests.ConnectTimeout` and `requests.ReadTimeout`, but they aren't imported into the top-level of the package.
2016-03-08 23:51:46 -05:00
Cory Benfield 6cc0b56d51 Switch to treat files without tell() as zero-length 2016-03-07 09:05:43 +00:00
Cory Benfield e034dd1140 Allow for exceptions from tell() 2016-03-07 08:31:23 +00:00
Cory Benfield 4f378b0e1a Merge pull request #3032 from davidsoncasey/master
Changes for #3028
2016-03-06 18:07:59 +00:00
Casey Davidson f74a6707af Verify that cookie can be properly accessed if domain is specified, and that error is raised otherwise. Refs #3028. 2016-03-05 20:37:56 -08:00
Casey Davidson c53a685e7d Fix typo. 2016-03-05 20:30:36 -08:00
Casey Davidson b9517a58bc Assert that both cookies were added in test. Refs #3028. 2016-03-04 15:59:13 -08:00
Casey Davidson d8b36c1718 Override __contains__ method of RequestsCookieJar to catch CookieConflictError. Refs #3028 2016-03-04 15:55:43 -08:00
Casey Davidson 1185d65202 Add tests to specify when CookieConflicError should be raised. References #3028. 2016-03-04 15:55:43 -08:00
kennethreitz 46184236dc docs2 2016-02-21 23:02:10 -05:00
kennethreitz 7c5d703466 docs 2016-02-21 23:01:41 -05:00
kennethreitz f8798a253a http://pep8.org 2016-02-21 23:00:42 -05:00
kennethreitz 7de1495bf5 add httpbin.org 2016-02-21 22:54:04 -05:00
kennethreitz c4adf614a6 translate all the pages 2016-02-21 22:35:38 -05:00
kennethreitz f90c311851 peeps be stealin'! 2016-02-21 22:04:52 -05:00
kennethreitz f2ec732ce8 stay informed 2016-02-21 20:45:45 -05:00
kennethreitz e47e80b92f &bsp; 2016-02-21 20:34:15 -05:00
kennethreitz 5f06b8196e updated sidebars 2016-02-21 20:32:42 -05:00
kennethreitz 41c26ce1f5 improvements to index 2016-02-21 20:32:36 -05:00
kennethreitz 75096a167c transcendental meditation 2016-02-19 09:26:21 -05:00
kennethreitz b366ef039c improved presentation of style guide 2016-02-19 09:11:09 -05:00
kennethreitz fc1e9b46a1 lyrics, er, docstrings 2016-02-19 09:08:29 -05:00
kennethreitz a7b5e3191d pass go, yay $200 2016-02-19 08:51:36 -05:00
kennethreitz ca303cda0a letters 2016-02-19 06:14:51 -05:00
kennethreitz 1b1f4ac77d cheat code 2016-02-19 06:08:38 -05:00
kennethreitz d8bf59dde4 namedrop 2016-02-19 05:45:55 -05:00
kennethreitz 14a83339a7 words (docs) 2016-02-19 05:41:17 -05:00
kennethreitz b70136cf52 completely (docs) 2016-02-19 05:38:33 -05:00
kennethreitz f653b9ac58 sentences 2016-02-19 05:03:04 -05:00
kennethreitz 1cf1699e37 what's docstrung 2016-02-19 04:56:25 -05:00
kennethreitz 8dc5f68bc1 sp 2016-02-19 04:50:55 -05:00
kennethreitz 29b191b5ea </tone> 2016-02-19 04:48:47 -05:00
kennethreitz ee024423a5 more pleasant wording about strong opinion 2016-02-19 04:44:11 -05:00
kennethreitz 90ddeca70d updated style guide 2016-02-19 04:42:54 -05:00
kennethreitz 5d0ffd85ce style guide 2016-02-19 04:30:06 -05:00
kennethreitz 2cb052aa95 sp 2016-02-19 04:11:41 -05:00
kennethreitz 886f92324a contributing 2016-02-19 04:10:37 -05:00
kennethreitz d3bd9f30a6 contributing 2016-02-19 04:09:03 -05:00
kennethreitz 688a00c386 improve contributions section 2016-02-19 03:47:12 -05:00
kennethreitz f63106005b better codeblocks on mobile 2016-02-19 02:59:05 -05:00
kennethreitz f8af499700 improve further advanced.rst 2016-02-19 02:45:07 -05:00
kennethreitz f4445b3d4f improve advanced.rst 2016-02-19 02:42:22 -05:00
kennethreitz bf8c8312dd cleanup quickstart 2016-02-19 02:12:15 -05:00
kennethreitz f4f863f168 cleanup advanced.rst
single-quoted strings, yo!
2016-02-19 02:06:33 -05:00