diff --git a/src/node_http_common.h b/src/node_http_common.h index 4440b5c58d93d7..099623c3b15d0c 100644 --- a/src/node_http_common.h +++ b/src/node_http_common.h @@ -78,7 +78,8 @@ class Environment; V(ORIGIN, "origin") \ V(PURPOSE, "purpose") \ V(TIMING_ALLOW_ORIGIN, "timing-allow-origin") \ - V(X_FORWARDED_FOR, "x-forwarded-for") + V(X_FORWARDED_FOR, "x-forwarded-for") \ + V(PRIORITY, "priority") #define HTTP_ADDITIONAL_HEADERS(V) \ V(ACCEPT_CHARSET, "accept-charset") \ diff --git a/test/parallel/test-http2-binding.js b/test/parallel/test-http2-binding.js index 29f2901e85e6e0..30f552cf31d0f2 100644 --- a/test/parallel/test-http2-binding.js +++ b/test/parallel/test-http2-binding.js @@ -180,6 +180,7 @@ const expectedHeaderNames = { HTTP2_HEADER_PURPOSE: 'purpose', HTTP2_HEADER_TIMING_ALLOW_ORIGIN: 'timing-allow-origin', HTTP2_HEADER_X_FORWARDED_FOR: 'x-forwarded-for', + HTTP2_PRIORITY: 'priority', }; const expectedNGConstants = {