net.http: authority header

pull/12207/head^2
Alexander Medvednikov 2021-10-17 06:40:12 +03:00
parent 678e3a210d
commit e6b7ab8b9d
1 changed files with 2 additions and 0 deletions

View File

@ -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' }