From 5260639a7e95d4d4a36b46fd4b19f665a0a60ef9 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 15 Nov 2020 12:55:12 +0300 Subject: Initial commit of http 2.0 plugin --- plugins/http/constants.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 plugins/http/constants.go (limited to 'plugins/http/constants.go') diff --git a/plugins/http/constants.go b/plugins/http/constants.go new file mode 100644 index 00000000..a25f52a4 --- /dev/null +++ b/plugins/http/constants.go @@ -0,0 +1,6 @@ +package http + +import "net/http" + +var http2pushHeaderKey = http.CanonicalHeaderKey("http2-push") +var trailerHeaderKey = http.CanonicalHeaderKey("trailer") -- cgit v1.2.3 From bc0be9c17220220ae9b40b65e874701edaecd8ce Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 19 Nov 2020 21:34:22 +0300 Subject: Add SSL tests --- plugins/http/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/http/constants.go') diff --git a/plugins/http/constants.go b/plugins/http/constants.go index a25f52a4..773d1f46 100644 --- a/plugins/http/constants.go +++ b/plugins/http/constants.go @@ -3,4 +3,4 @@ package http import "net/http" var http2pushHeaderKey = http.CanonicalHeaderKey("http2-push") -var trailerHeaderKey = http.CanonicalHeaderKey("trailer") +var TrailerHeaderKey = http.CanonicalHeaderKey("trailer") -- cgit v1.2.3