hapifhir / hapi-hl7v2

280 stars 137 forks source link

HTTP Response is 401 When It Should Be 400 #92

Closed TynerGjs closed 1 year ago

TynerGjs commented 1 year ago

Description

When building the response for a 400 bad request, the header is mistakenly set to 401 Unauthorized.

Steps to reproduce:

Expected Result:

Both response's body and header are 400 bad request.