Yes, when I stepped through the code, urllib2 adds a host header if
there isn't one, and its grabbing the wrong host value because
'has_proxy' is returning False.
And yes, you have to have an https proxy defined to trigger this - see
my comments in the bug about reproducing it.
Sounds like you think this is ok? Could you land it(I'm hopping on a
plane in a minute for the next leg).
Yes, when I stepped through the code, urllib2 adds a host header if
there isn't one, and its grabbing the wrong host value because
'has_proxy' is returning False.
And yes, you have to have an https proxy defined to trigger this - see
my comments in the bug about reproducing it.
Sounds like you think this is ok? Could you land it(I'm hopping on a
plane in a minute for the next leg).
Thanks,
Rob