Our project runs node-red standalone and provides an OCSP (RFC 6960) service. The OCSP requests are received using an
HTTP In node. When receiving an HTTP POST request with
Content-Type: application/ocsp-request, the body of the HTTP request is modified by node-red resp. express. Unfortunately this corrupts the DER (Distinguished Encoding Rules) encoded body of the request. When the same request is posted with
Content-Type: application/octet-stream there is no modification of the request body.
How can node-red be configured to pass HTTP POST requests with
Content-Type: application/ocsp-request as-is?