We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95751f7 commit 8b6f9c5Copy full SHA for 8b6f9c5
lib/rift/utils.py
@@ -69,9 +69,9 @@ def download_file(url, output):
69
70
def last_modified(url):
71
"""
72
- Return number of seconds since epoch of Last-Modified header for the given
73
- URL. By convention, Last-Modified is always in GMT/UTC timezone. Raises
74
- RiftError when unable to get or convert Last-Modified header to timestamp.
+ Return the mtime of the URL using the Last-Modified header. By convention,
+ Last-Modified is always in GMT/UTC timezone. Raises RiftError when unable to
+ get or convert Last-Modified header to timestamp.
75
76
req = urllib.request.Request(url, method='HEAD')
77
0 commit comments