Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return IfExp Call AttributeLoad NameLoad attr Str NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore BinOpMod Str NameLoad Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Call NameLoad AttributeLoad NameLoad attr orelse If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad orelse If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str BinOpDiv Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return IfExp CompareIs NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A re functools partial urlparse urlparse urllib2 unquote N/A tornado.httpclient N/A LoaderResult thumbor.utils logger tornado.concurrent return_future quote_url N/A N/A url N/A N/A N/A N/A N/A N/A unquote url decode utf-8 N/A _normalize_url N/A N/A url N/A N/A N/A url N/A quote_url url N/A N/A N/A N/A url startswith http url N/A http://%s url N/A validate N/A N/A context url normalize_url_func N/A _normalize_url N/A N/A url N/A normalize_url_func url N/A res N/A urlparse url N/A N/A N/A res hostname N/A N/A False N/A N/A N/A N/A context config ALLOWED_SOURCES N/A N/A True N/A pattern N/A N/A context config ALLOWED_SOURCES N/A N/A N/A isinstance pattern N/A re _pattern_type N/A N/A match url N/A N/A pattern N/A ^%s$ pattern N/A match N/A res hostname N/A N/A N/A re match pattern match N/A N/A True N/A False N/A return_contents N/A N/A response url callback context N/A N/A N/A result N/A LoaderResult N/A N/A N/A N/A context metrics incr N/A original_image.status. N/A str N/A response code N/A N/A response error N/A N/A N/A result successful False N/A N/A N/A response code 599 N/A N/A N/A result error N/A LoaderResult ERROR_TIMEOUT N/A N/A N/A result error N/A LoaderResult ERROR_NOT_FOUND N/A N/A N/A logger warn N/A N/A ERROR retrieving image {0}: {1} format url N/A str N/A response error N/A N/A N/A N/A N/A response body None N/A N/A len N/A response body 0 N/A N/A N/A result successful False N/A N/A result error N/A LoaderResult ERROR_UPSTREAM N/A N/A N/A logger warn N/A N/A ERROR retrieving image {0}: Empty response. format url N/A N/A N/A response time_info N/A N/A x N/A response time_info N/A N/A N/A N/A N/A context metrics timing N/A original_image.time_info. x N/A N/A N/A response time_info N/A x 1000 N/A N/A N/A N/A context metrics timing original_image.time_info.bytes_per_second N/A N/A len N/A response body N/A N/A response time_info N/A total N/A N/A result buffer N/A response body N/A N/A callback result N/A load N/A N/A context url callback normalize_url_func N/A _normalize_url N/A N/A N/A load_sync context url callback normalize_url_func N/A return_future load_sync N/A N/A context url callback normalize_url_func N/A N/A N/A using_proxy N/A N/A N/A context config HTTP_LOADER_PROXY_HOST N/A N/A context config HTTP_LOADER_PROXY_PORT N/A N/A using_proxy N/A N/A context config HTTP_LOADER_CURL_ASYNC_HTTP_CLIENT N/A N/A N/A N/A N/A N/A tornado httpclient AsyncHTTPClient configure tornado.curl_httpclient.CurlAsyncHTTPClient N/A client N/A N/A N/A tornado httpclient AsyncHTTPClient max_clients N/A N/A context config HTTP_LOADER_MAX_CLIENTS N/A user_agent None N/A N/A N/A context config HTTP_LOADER_FORWARD_USER_AGENT N/A N/A N/A User-Agent N/A N/A N/A context request_handler request headers N/A N/A user_agent N/A N/A N/A N/A context request_handler request headers N/A User-Agent N/A N/A user_agent None N/A N/A user_agent N/A N/A context config HTTP_LOADER_DEFAULT_USER_AGENT N/A url N/A normalize_url_func url N/A req N/A N/A N/A tornado httpclient HTTPRequest url url connect_timeout N/A N/A context config HTTP_LOADER_CONNECT_TIMEOUT request_timeout N/A N/A context config HTTP_LOADER_REQUEST_TIMEOUT follow_redirects N/A N/A context config HTTP_LOADER_FOLLOW_REDIRECTS max_redirects N/A N/A context config HTTP_LOADER_MAX_REDIRECTS user_agent user_agent proxy_host N/A encode N/A N/A context config HTTP_LOADER_PROXY_HOST proxy_port N/A N/A context config HTTP_LOADER_PROXY_PORT proxy_username N/A encode N/A N/A context config HTTP_LOADER_PROXY_USERNAME proxy_password N/A encode N/A N/A context config HTTP_LOADER_PROXY_PASSWORD ca_certs N/A encode N/A N/A context config HTTP_LOADER_CA_CERTS client_key N/A encode N/A N/A context config HTTP_LOADER_CLIENT_KEY client_cert N/A encode N/A N/A context config HTTP_LOADER_CLIENT_CERT N/A N/A N/A client fetch req callback N/A partial return_contents url url callback callback context context N/A encode N/A N/A string N/A N/A N/A N/A N/A string None None N/A N/A string encode ascii N/A