![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | http_error_default |
def | http_error_302 |
def | redirect_internal |
def | http_error_301 |
def | http_error_303 |
def | http_error_307 |
def | http_error_401 |
def | http_error_407 |
def | retry_proxy_http_basic_auth |
def | retry_proxy_https_basic_auth |
def | retry_http_basic_auth |
def | retry_https_basic_auth |
def | get_user_passwd |
def | prompt_user_passwd |
![]() | |
def | __init__ |
def | __del__ |
def | close |
def | cleanup |
def | addheader |
def | open |
def | open_unknown |
def | open_unknown_proxy |
def | retrieve |
def | open_http |
def | http_error |
def | http_error_default |
def | open_https |
def | open_file |
def | open_local_file |
def | open_ftp |
def | open_data |
Public Attributes | |
auth_cache | |
tries | |
maxtries | |
![]() | |
proxies | |
key_file | |
cert_file | |
addheaders | |
tempcache | |
ftpcache | |
type | |
Additional Inherited Members | |
![]() | |
string | version = "Python-urllib/%s" |
Derived class with handlers for errors we can handle (perhaps).
def google.appengine.dist27.urllib.FancyURLopener.http_error_301 | ( | self, | |
url, | |||
fp, | |||
errcode, | |||
errmsg, | |||
headers, | |||
data = None |
|||
) |
Error 301 -- also relocated (permanently).
def google.appengine.dist27.urllib.FancyURLopener.http_error_302 | ( | self, | |
url, | |||
fp, | |||
errcode, | |||
errmsg, | |||
headers, | |||
data = None |
|||
) |
Error 302 -- relocated (temporarily).
def google.appengine.dist27.urllib.FancyURLopener.http_error_303 | ( | self, | |
url, | |||
fp, | |||
errcode, | |||
errmsg, | |||
headers, | |||
data = None |
|||
) |
Error 303 -- also relocated (essentially identical to 302).
def google.appengine.dist27.urllib.FancyURLopener.http_error_307 | ( | self, | |
url, | |||
fp, | |||
errcode, | |||
errmsg, | |||
headers, | |||
data = None |
|||
) |
Error 307 -- relocated, but turn POST into error.
def google.appengine.dist27.urllib.FancyURLopener.http_error_401 | ( | self, | |
url, | |||
fp, | |||
errcode, | |||
errmsg, | |||
headers, | |||
data = None |
|||
) |
Error 401 -- authentication required. This function supports Basic authentication only.
def google.appengine.dist27.urllib.FancyURLopener.http_error_407 | ( | self, | |
url, | |||
fp, | |||
errcode, | |||
errmsg, | |||
headers, | |||
data = None |
|||
) |
Error 407 -- proxy authentication required. This function supports Basic authentication only.
def google.appengine.dist27.urllib.FancyURLopener.http_error_default | ( | self, | |
url, | |||
fp, | |||
errcode, | |||
errmsg, | |||
headers | |||
) |
Default error handling -- don't raise an exception.
def google.appengine.dist27.urllib.FancyURLopener.prompt_user_passwd | ( | self, | |
host, | |||
realm | |||
) |
Override this in a GUI environment!