• Jeremy Hylton's avatar
    two fixes for redirects: · 73574eef
    Jeremy Hylton yazdı
        - don't close the fp, since that appears to also close the socket
        - join the original url with the redirect reponse to deal with
          relative redirect URL
    
    wrap two socket ops in try/except to turn them into URLErrors, so that
    client code need only catch one exception.
    
    in HTTPError.__del__ only close fp if fp is not None
    
    style changes:
        - use f(*args) instead of apply(f, args)
        - use __super_init instead of super.__init__(self, ...)
    73574eef
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...