From b3a63aa749652cad4118237ba270253ca110077c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Fri, 2 Aug 2019 10:16:36 -0300 Subject: [PATCH] Constants for v0.3 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 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/bindings/http/constants.js b/lib/bindings/http/constants.js index 6ca1b48..19106eb 100644 --- a/lib/bindings/http/constants.js +++ b/lib/bindings/http/constants.js @@ -24,7 +24,6 @@ module.exports = { SCHEMA_URL : "ce-schemaurl", EXTENSIONS_PREFIX : "ce-" }, - STRUCTURED_ATTRS_02 : { TYPE : "type", SPEC_VERSION : "specversion", @@ -34,5 +33,17 @@ module.exports = { SCHEMA_URL : "schemaurl", CONTENT_TYPE : "contenttype", DATA : "data" + }, + + BINARY_HEADERS_03 : { + TYPE : "ce-type", + SPEC_VERSION : "ce-specversion", + SOURCE : "ce-source", + ID : "ce-id", + TIME : "ce-time", + SCHEMA_URL : "ce-schemaurl", + CONTENT_ENCONDING : "ce-datacontentencoding", + SUBJECT : "ce-subject", + EXTENSIONS_PREFIX : "ce-" } };