Commit Graph
6 Commits
Author SHA1 Message Date
Alex Gaynor 6011453a14 Replaced tabs with spaces and removed usage of several deprecated features:
* dict.has_key -> `in` operator
* backticks -> repr

Also removed trailing newlines from a few files.

flake8 --select='W' no longer reports any issues
2014-11-18 17:01:31 -08:00
Alex Gaynor 0b75c5194f Removed trailing whitespace as well as unused imports 2014-11-18 16:41:13 -08:00
Alex Gaynor bcda03d948 Set the content-type header and use POST, which the ACME spec requires 2014-11-18 09:15:36 -08:00
Alex Gaynor a9e0028007 Use the older requests API 2014-11-18 09:09:56 -08:00
Alex Gaynor efaec60e6b Switched from using urllib2 to requests.
urllib2 is a security hazzard, it does not perform certificate checks against a trust root by default, nor does it perform service_identity checks.

Also, requests has a prettier API.
2014-11-18 08:13:06 -08:00
Alex Gaynor 00aae545ac Fixed several typos 2014-11-18 07:55:39 -08:00