From e17f9aafbd545abc44e74565c0e8ab463cb8615d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Tue, 11 Jun 2019 21:51:22 -0300 Subject: [PATCH] HTTP Binary headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- lib/bindings/http/constants.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/bindings/http/constants.js b/lib/bindings/http/constants.js index fea4a2a..8b1898f 100644 --- a/lib/bindings/http/constants.js +++ b/lib/bindings/http/constants.js @@ -6,5 +6,15 @@ module.exports = { MIME_CE : "application/cloudevents", MIME_CE_JSON : "application/cloudevents+json", - HEADER_CONTENT_TYPE : "content-type" + HEADER_CONTENT_TYPE : "content-type", + + BINARY_HEADERS_02 : { + TYPE : "ce-type", + SPEC_VERSION : "ce-specversion", + SOURCE : "ce-source", + ID : "ce-id", + TIME : "ce-time", + SCHEMA_URL : "ce-schemaurl", + EXTENSIONS_PREFIX : "ce-" + } }