From b42f6f3bc854c0da783df6243c01603aaf0fb74a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Sun, 4 Aug 2019 13:26:56 -0300 Subject: [PATCH] Constants for version number and default header specversion 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/bindings/http/constants.js b/lib/bindings/http/constants.js index 803b077..afb541e 100644 --- a/lib/bindings/http/constants.js +++ b/lib/bindings/http/constants.js @@ -3,6 +3,11 @@ module.exports = { HEADERS : "headers", CHARSET_DEFAULT : "utf-8", + SPEC_V02 : "0.2", + SPEC_V03 : "0.3", + + DEFAULT_SPEC_VERSION_HEADER : "ce-specversion", + DATA_ATTRIBUTE : "data", MIME_JSON : "application/json",