From 977d0be083d91d7457000a8e8f74d32925171609 Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Tue, 17 Jun 2025 15:00:33 -0500 Subject: [PATCH] explicitly require content-type and content-length --- buds/01.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buds/01.md b/buds/01.md index 09c872b..92e8121 100644 --- a/buds/01.md +++ b/buds/01.md @@ -131,9 +131,9 @@ Example event for retrieving multiple blobs from single server: ## HEAD /sha256 - Has Blob -The `HEAD /` endpoint MUST be identical to the `GET /` endpoint except that it MUST NOT return the blob in the reponse body per [RFC 7231](https://www.rfc-editor.org/rfc/rfc7231#section-4.3.2) +The `HEAD /` endpoint SHOULD be identical to the `GET /` endpoint except that it MUST NOT return the blob in the reponse body per [RFC 7231](https://www.rfc-editor.org/rfc/rfc7231#section-4.3.2) -The endpoint MUST respond with the same headers that the `GET /` endpoint would respond with including the `Content-Type` header and other content headers. +The endpoint MUST respond with the same `Content-Type` and `Content-Length` headers as the `GET /` endpoint. The endpoint MUST accept an optional file extension in the URL similar to the `GET /` endpoint. ie. `.pdf`, `.png`, etc