diff --git a/pubs/content.py b/pubs/content.py index b1e403b..e06b72e 100644 --- a/pubs/content.py +++ b/pubs/content.py @@ -114,7 +114,7 @@ def write_file(filepath, data, mode='w'): def content_type(path): parsed = urlparse(path) - if parsed.scheme == 'http': + if parsed.scheme in ('http', 'https'): return 'url' else: return 'file'