Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conformance test issue -- GET request to nonexistent blob should result in empty 200 response #19176

Closed
MinerYang opened this issue Aug 15, 2023 · 0 comments
Assignees
Labels

Comments

@MinerYang
Copy link
Contributor

MinerYang commented Aug 15, 2023

This issue is a sub-task of Distribution spec v1.1 phase3 epic (#19173)

~~~ REQUEST ~~~
GET  /v2/conformance/testrepo/referrers/sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9  HTTP/1.1
HOST   : 10.1.0.115
HEADERS:
	Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkZVQkY6TDZURTpNTFlZOjZLWDI6NEFZWTo1RVNQOkEzN0U6U082Uzo1WUVFOkM1Qkg6VUw2Szo3R0xLIiwidHlwIjoiSldUIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE2OTE5OTU3NzYsIm5iZiI6MTY5MTk5Mzk3NiwiaWF0IjoxNjkxOTkzOTc2LCJqdGkiOiJhVWdDRkFZYVI5UEdEZDVjIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJjb25mb3JtYW5jZS90ZXN0cmVwbyIsImFjdGlvbnMiOlsicHVzaCIsImRlbGV0ZSIsInB1bGwiXX1dfQ.q134NyHNWYBaoFgYyGZOYYIdUQufx5U076elv9goEd1EoGb5GMteKfjIa8Wla2JSNscsrvk9jyL4xaSCOGImqLQRBd2fu9cpaO_arYBIAuMKcAhmYUPtNIehVDlBsxl9xY9C96e1A5Ze_mJyIMLz4g4If6VArlBwxDYGLb_Ms5pPQkRBoUoMhPW5sBDq_zyd-HAic91j6G8kOJ8THpKpDAcqAnvY5dmDug3ql6h37L-DgkZGajo7rvVjQ-_xqHWwC0tOC0oy_fIQnQRuVF-C6cWDlz_Cd-8ifWeXcD4H11mM2NTY2p3PrEkzdCGmU4YlMOlORyN1gAr-tLS9fne-ZiLqb3p22aqVGRIZXoONnNPCHMKVMFRLQ0t0vu72sBiJQ3C9hfLYy-JAZf_M4xBv1CUHaGMdK9ZLiX5v7lnz1kek3LlBlQ7h85hX-7FGdE1IlBuKI6SC5nFuHmezh47QDhQreqKQLLs57DFwKLbyInc6qc398pdmkQn_R62DAV_rrjzFNEj_JiiZj6EsQPT6snr_fZlkMIWIlEGnvgAKy4CdDOSbSKHKBslztiDtg8lIBqvQuV8usqKTlh1tK3fgSPDc809DZg37foeMD_hgPey9ZLOof5Z2EwWpBmyIJqGsvMvdmsqtNl1eSBf9Aymb_TmzRZI_Lola_pd2f87R-4A
	User-Agent: distribution-spec-conformance-tests
BODY   :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS       : 200 OK
PROTO        : HTTP/1.1
RECEIVED AT  : 2023-08-14T06:19:36.766539395Z
TIME DURATION: 4.853041ms
HEADERS      :
	Connection: keep-alive
	Content-Length: 3
	Content-Security-Policy: frame-ancestors 'none'
	Content-Type: application/json; charset=utf-8
	Date: Mon, 14 Aug 2023 06:19:36 GMT
	Server: nginx
	Set-Cookie: sid=4821e21dc81adbd0efc4359f77c97797; Path=/; HttpOnly
	Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
	X-Frame-Options: DENY
	X-Request-Id: bd0d755b-c064-4627-a103-3180d5f27d51
	X-Total-Count: 0
BODY         :
{}

Expected
: application/json; charset=utf-8
to equal
: application/vnd.oci.image.index.v1+json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant