mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
Add support for HEAD operations (#19520)
* Add header operation to sdk/logical Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add support for routing HEAD operations Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> * Add changelog entry Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com> --------- Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
This commit is contained in:
@@ -42,6 +42,14 @@ func TestResponseUtil_RespondErrorCommon_basic(t *testing.T) {
|
||||
respErr: nil,
|
||||
expectedStatus: 404,
|
||||
},
|
||||
{
|
||||
title: "Header not found",
|
||||
req: &Request{
|
||||
Operation: HeaderOperation,
|
||||
},
|
||||
respErr: nil,
|
||||
expectedStatus: 404,
|
||||
},
|
||||
{
|
||||
title: "List with response and no keys",
|
||||
req: &Request{
|
||||
|
||||
Reference in New Issue
Block a user