Merge pull request #32730 from nwtgck/sort-fields-in-IncomingHttpHeaders

[node] Sort fields in IncomingHttpHeaders
This commit is contained in:
Armando Aguirre
2019-02-08 13:14:50 -08:00
committed by GitHub
6 changed files with 44 additions and 44 deletions
+7 -7
View File
@@ -7,14 +7,14 @@ declare module "http" {
// incoming headers will never contain number
interface IncomingHttpHeaders {
'accept'?: string;
'access-control-allow-origin'?: string;
'access-control-allow-credentials'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-headers'?: string;
'accept-patch'?: string;
'accept-ranges'?: string;
'access-control-allow-credentials'?: string;
'access-control-allow-headers'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-origin'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'age'?: string;
'allow'?: string;
'alt-svc'?: string;
@@ -50,9 +50,9 @@ declare module "http" {
'retry-after'?: string;
'set-cookie'?: string[];
'strict-transport-security'?: string;
'tk'?: string;
'trailer'?: string;
'transfer-encoding'?: string;
'tk'?: string;
'upgrade'?: string;
'user-agent'?: string;
'vary'?: string;
+7 -7
View File
@@ -672,14 +672,14 @@ declare module "http" {
// incoming headers will never contain number
export interface IncomingHttpHeaders {
'accept'?: string;
'access-control-allow-origin'?: string;
'access-control-allow-credentials'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-headers'?: string;
'accept-patch'?: string;
'accept-ranges'?: string;
'access-control-allow-credentials'?: string;
'access-control-allow-headers'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-origin'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'age'?: string;
'allow'?: string;
'alt-svc'?: string;
@@ -703,9 +703,9 @@ declare module "http" {
'retry-after'?: string;
'set-cookie'?: string[];
'strict-transport-security'?: string;
'tk'?: string;
'trailer'?: string;
'transfer-encoding'?: string;
'tk'?: string;
'upgrade'?: string;
'user-agent'?: string;
'vary'?: string;
+7 -7
View File
@@ -741,14 +741,14 @@ declare module "http" {
// incoming headers will never contain number
export interface IncomingHttpHeaders {
'accept'?: string;
'access-control-allow-origin'?: string;
'access-control-allow-credentials'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-headers'?: string;
'accept-patch'?: string;
'accept-ranges'?: string;
'access-control-allow-credentials'?: string;
'access-control-allow-headers'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-origin'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'age'?: string;
'allow'?: string;
'alt-svc'?: string;
@@ -772,9 +772,9 @@ declare module "http" {
'retry-after'?: string;
'set-cookie'?: string[];
'strict-transport-security'?: string;
'tk'?: string;
'trailer'?: string;
'transfer-encoding'?: string;
'tk'?: string;
'upgrade'?: string;
'user-agent'?: string;
'vary'?: string;
+7 -7
View File
@@ -738,14 +738,14 @@ declare module "http" {
// incoming headers will never contain number
export interface IncomingHttpHeaders {
'accept'?: string;
'access-control-allow-origin'?: string;
'access-control-allow-credentials'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-headers'?: string;
'accept-patch'?: string;
'accept-ranges'?: string;
'access-control-allow-credentials'?: string;
'access-control-allow-headers'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-origin'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'age'?: string;
'allow'?: string;
'alt-svc'?: string;
@@ -769,9 +769,9 @@ declare module "http" {
'retry-after'?: string;
'set-cookie'?: string[];
'strict-transport-security'?: string;
'tk'?: string;
'trailer'?: string;
'transfer-encoding'?: string;
'tk'?: string;
'upgrade'?: string;
'user-agent'?: string;
'vary'?: string;
+8 -8
View File
@@ -967,18 +967,18 @@ declare module "http" {
// incoming headers will never contain number
export interface IncomingHttpHeaders {
'accept'?: string;
'access-control-allow-origin'?: string;
'access-control-allow-credentials'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-headers'?: string;
'accept-patch'?: string;
'accept-ranges'?: string;
'authorization'?: string;
'access-control-allow-credentials'?: string;
'access-control-allow-headers'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-origin'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'age'?: string;
'allow'?: string;
'alt-svc'?: string;
'authorization'?: string;
'cache-control'?: string;
'connection'?: string;
'content-disposition'?: string;
@@ -999,9 +999,9 @@ declare module "http" {
'retry-after'?: string;
'set-cookie'?: string[];
'strict-transport-security'?: string;
'tk'?: string;
'trailer'?: string;
'transfer-encoding'?: string;
'tk'?: string;
'upgrade'?: string;
'user-agent'?: string;
'vary'?: string;
+8 -8
View File
@@ -1052,18 +1052,18 @@ declare module "http" {
// incoming headers will never contain number
export interface IncomingHttpHeaders {
'accept'?: string;
'access-control-allow-origin'?: string;
'access-control-allow-credentials'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-headers'?: string;
'accept-patch'?: string;
'accept-ranges'?: string;
'authorization'?: string;
'access-control-allow-credentials'?: string;
'access-control-allow-headers'?: string;
'access-control-allow-methods'?: string;
'access-control-allow-origin'?: string;
'access-control-expose-headers'?: string;
'access-control-max-age'?: string;
'age'?: string;
'allow'?: string;
'alt-svc'?: string;
'authorization'?: string;
'cache-control'?: string;
'connection'?: string;
'content-disposition'?: string;
@@ -1084,9 +1084,9 @@ declare module "http" {
'retry-after'?: string;
'set-cookie'?: string[];
'strict-transport-security'?: string;
'tk'?: string;
'trailer'?: string;
'transfer-encoding'?: string;
'tk'?: string;
'upgrade'?: string;
'user-agent'?: string;
'vary'?: string;