Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F33947998
raw-paste-data.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
JMeybohm
Dec 17 2020, 9:58 AM
2020-12-17 09:58:24 (UTC+0)
Size
470 B
Referenced Files
None
Subscribers
None
raw-paste-data.txt
View Options
#!/usr/bin/env python3
import requests
import pprint
registry_url = "docker-registry.wikimedia.org"
def _request(url_part):
headers = {}
headers["Accept"] = "application/vnd.docker.distribution.manifest.v2+json"
url = "https://{}{}".format(registry_url, url_part)
response = requests.request("GET", url, headers=headers)
response.raise_for_status()
return response
img = "/v2/releng/node10-test-browser/manifests/latest"
r = _request(img)
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8803469
Default Alt Text
raw-paste-data.txt (470 B)
Attached To
Mode
P13565 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment