From e6b7ab8b9df81a0bdaaefc6d9b0c736df83f168a Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 17 Oct 2021 06:40:12 +0300 Subject: [PATCH] net.http: authority header --- vlib/net/http/header.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/net/http/header.v b/vlib/net/http/header.v index 6e28dcfe48..a9d57ffad9 100644 --- a/vlib/net/http/header.v +++ b/vlib/net/http/header.v @@ -38,6 +38,7 @@ pub enum CommonHeader { allow alt_svc authorization + authority cache_control clear_site_data connection @@ -143,6 +144,7 @@ pub fn (h CommonHeader) str() string { .allow { 'Allow' } .alt_svc { 'Alt-Svc' } .authorization { 'Authorization' } + .authority { 'Authority' } .cache_control { 'Cache-Control' } .clear_site_data { 'Clear-Site-Data' } .connection { 'Connection' }