Chromium Code Reviews| Index: client/utils/net.py |
| diff --git a/client/utils/net.py b/client/utils/net.py |
| index 7eaeb878035db1fd8debcea78165836df41a68b2..faccca93e7061cd5963d7bc44657a87417f6eee6 100644 |
| --- a/client/utils/net.py |
| +++ b/client/utils/net.py |
| @@ -69,7 +69,7 @@ CONTENT_ENCODERS = { |
| # Google Storage URL regular expression. |
| -GS_STORAGE_HOST_URL_RE = re.compile(r'https://.*\.storage\.googleapis\.com') |
| +GS_STORAGE_HOST_URL_RE = re.compile(r'https://(.*\.)?storage\.googleapis\.com') |
|
M-A Ruel
2017/06/02 17:26:23
It should be a + instead of a *, then lgtm
nodir
2017/06/02 17:28:03
Done.
|
| # Global (for now) map: server URL (http://example.com) -> HttpService instance. |
| # Used by get_http_service to cache HttpService instances. |