<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 6:11 AM, MatÄ›j Cepl <span dir="ltr"><<a href="mailto:mcepl@redhat.com" target="_blank">mcepl@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":18m" style="overflow:hidden">I am not sure how widespread is this breaking of RFC, but it seems to me<br>
that quite a lot (e.g., <a href="http://stackoverflow.com/a/9698319/164233" target="_blank">http://stackoverflow.com/a/9698319/164233</a> which<br>
just en passant expects urllib2 authentication stuff to be useless), and<br>
the question is whether it shouldn't be documented somehow and/or<br>
urllib2.HTTPBasicAuthHandler shouldn't be modified to try add<br>
Authenticate header first.<br>
<br>
Any suggestions?</div></blockquote></div><br>Please file a bug report at <a href="http://bugs.python.org">bugs.python.org</a> stating this. urllib2 tries to follow the RFC as much as possible, but ofcourse consider's de-facto standards and adopts to it. This can be documented for 2.x and can be 'fixed in 3.4.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">HTH,</div><div class="gmail_extra">Senthil</div><div class="gmail_extra"><br></div></div>