Alex Gaynor and GitHub
ae6268ea3c
Remove workaround that's not relevant since py2 isn't supported ( #9716 )
2023-06-11 06:44:58 +10:00
Alex Gaynor
4c8f5fff8c
Fixed formatting of code blocks
2016-01-21 11:37:32 -05:00
Alex Gaynor
5376c30745
Revert changes to the acme directory
...
Only send the Python version in the user agent for the letsencrypt tool.
2016-01-05 07:30:49 -05:00
Alex Gaynor
0454031cce
Fixed a pair of typos in docstrings
2016-01-03 14:37:08 -05:00
Alex Gaynor
dc3a2da9b1
Fixed a typo in a comment
2016-01-03 10:49:50 -05:00
Alex Gaynor
e5247ced5e
Include the python version being used in the user agent for ACME requests.
2015-12-23 18:32:20 -05:00
Alex Gaynor
d983429f82
Fixed a type in a docstring
2015-12-12 16:12:10 -05:00
Alex Gaynor
916a946bcd
Simplify the ACME example client by using an existing method
2015-12-12 14:50:26 -05:00
Alex Gaynor
f5fde98ab6
Fixed an inaccurate comment
...
While it's true that older Pythons do not do (critical) TLS validation by default, that's not what this warning is about.
2015-12-12 14:38:21 -05:00
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