Actions
Issue #4314
closedaccept_headers should be checked when docker pull is performed by digest
Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
(pulp) [vagrant@pulp3 pulp]$ curl -i -L -X GET 'http://localhost:1234/v2/haha/manifests/latest'
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
Content-Length: 14
Date: Fri, 11 Jan 2019 14:26:26 GMT
Server: Python/3.6 aiohttp/3.5.2
404: Not Found(pulp) [vagrant@pulp3 pulp]$ curl -i -L -X GET 'http://localhost:1234/v2/haha/manifests/sha256:46e71df1e5191ab8b8034c5189e325258ec44ea739bba1e5645cff83c9048ff1'
HTTP/1.1 200 OK
Content-Type: application/vnd.docker.distribution.manifest.list.v2+json
Docker-Distribution-API-Version: registry/2.0
Content-Length: 2029
Content-Disposition: attachment; filename=e71df1e5191ab8b8034c5189e325258ec44ea739bba1e5645cff83c9048ff1
Last-Modified: Tue, 08 Jan 2019 16:41:17 GMT
Accept-Ranges: bytes
Date: Fri, 11 Jan 2019 14:26:29 GMT
Server: Python/3.6 aiohttp/3.5.2
pulp: pulp_docker.app.registry:WARNING: Client does not accept Docker V2 Schema 2 and is not currently supported.
pulp: pulp_docker.app.registry:INFO: sha256:46e71df1e5191ab8b8034c5189e325258ec44ea739bba1e5645cff83c9048ff1
https://github.com/pulp/pulp_docker/pull/295/files#diff-1f37e1bf95e24a173326983f481027a7R152
Related issues
Updated by kersom over 5 years ago
- Related to Test #4531: Fetch registry content using API calls added
Updated by rochacbruno over 5 years ago
- Related to Test #4533: Test Pull Container Image by Digest added
Updated by ipanova@redhat.com over 5 years ago
Actually, i just tested with docker registry and it returns the image no matter what headers has been sent, if specifying the digest.
Updated by ipanova@redhat.com over 5 years ago
- Status changed from NEW to CLOSED - NOTABUG
Actions