|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, filesystem) |
| def | fetch (self, url) |
| def | fetch_into_file (self, url) |
Class with restricted interface to fetch URLs (makes testing easier)
| def webkitpy.common.system.urlfetcher.UrlFetcher.__init__ | ( | self, | |
| filesystem | |||
| ) |
| def webkitpy.common.system.urlfetcher.UrlFetcher.fetch | ( | self, | |
| url | |||
| ) |
Fetches the contents of the URL as a string.
| def webkitpy.common.system.urlfetcher.UrlFetcher.fetch_into_file | ( | self, | |
| url | |||
| ) |
Fetches the contents of the URL into a temporary file and return the filename. This is the equivalent of urllib.retrieve() except that we don't return any headers.
1.8.13