Here's a potential patch. I took the getheader and getheaders code from httplib.py and modified it to work with where the headers are stored in our addinfourl class. I've tested that I can branch with this bundle applied but nothing further.
Here's a potential patch. I took the getheader and getheaders code from httplib.py and modified it to work with where the headers are stored in our addinfourl class. I've tested that I can branch with this bundle applied but nothing further.