Commit Graph

18 Commits (87648f7bdf9a03b487882bc8412fdba29e51158b)

Author SHA1 Message Date
James Cammarata ed35e8bce2 Don't override the http status code when successful in urls.py 9 years ago
Matt Martz a985bf6a31 Don't pass context to urlopen, instead add it to the handlers. Fixes https://github.com/ansible/ansible-modules-core/issues/3437 9 years ago
Matt Martz 6e9c09d7f7 Utilize urllib3.contrib.pyopenssl functionality for SNI capability in python versions lacking SNI support
Also add SNI tests, move test_uri to destructive since we are messing with packages for SNI testing
9 years ago
Matt Martz cacb74aeeb Merge pull request #14340 from sivel/uri-no-httplib2
Add RedirectHandler class for controlling redirects in urllib2
9 years ago
Matt Martz 3e9408e317 Add some additional integration tests that mix SSL verification and redirects 9 years ago
Brian Coca 08b3dbcda3 corrected several usages of deprecated bare vars 9 years ago
Matt Martz 97e0f29a5b Add/improve tests for the uri module 9 years ago
Toshio Kuratomi 1cc83dd0d9 Make tests that use kennethreitz retry. 9 years ago
Toshio Kuratomi 8c6f56f982 kennetreitz.org times out but www.kennethreitz.org is fine 9 years ago
Toshio Kuratomi 327b1676a8 Add support for SNI and TLS-1.1 and TLS-1.2 to the fetch_url() helper
Fixes #1716
Fixes #1695
9 years ago
Toshio Kuratomi ac14ad1419 Test on fields that are actually set 10 years ago
Toshio Kuratomi 1bda7cc200 Test that uri module validates certs 10 years ago
Toshio Kuratomi a8d52e3e94 Have to setup the proper mime-types before importing SImpleHttpServer 10 years ago
Toshio Kuratomi 7af2632c87 Forgot to invoke wrapper instead of SimpleHttpServer 10 years ago
Toshio Kuratomi b312e97a30 Think that integration tests are failing in json due to lack of json mimetype. Make a short wrapper to fix that. 10 years ago
Toshio Kuratomi 0f9ad9dad2 Update integration tests from @darkk to work with the current uri module code 10 years ago
Leonid Evdokimov 3383a7b37a tests: replace start-stop-daemon with async action 10 years ago
Leonid Evdokimov ae9ba4afa1 uri: provide raw_content, parse json without double-decoding. Fixes #7586
Regression potential:
 - `raw_content` is written to `dest` file instead of decoded `content`
 - `raw_content` doubles module reply
10 years ago