Skip to content

A replacement for Python's built-in httplib which does SSL much more safely

Notifications You must be signed in to change notification settings

Roguelazer/safe_httplib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

safe_httplib is a replacement for the python standard library module httplib which attempts to be more secure by design. Specifically, it overrides the HTTPSConnection class to do server-name verification and CA certificate checking.

In general, you should be able to just replace all imports of httplib with imports of safe_httplib and everything will work.

Due to limitations of the python ssl module, this is rather substantially slower than using the base HTTPSConnection.

About

A replacement for Python's built-in httplib which does SSL much more safely

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages