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 allow
alt_svc alt_svc
authorization authorization
authority
cache_control cache_control
clear_site_data clear_site_data
connection connection
@ -143,6 +144,7 @@ pub fn (h CommonHeader) str() string {
.allow { 'Allow' } .allow { 'Allow' }
.alt_svc { 'Alt-Svc' } .alt_svc { 'Alt-Svc' }
.authorization { 'Authorization' } .authorization { 'Authorization' }
.authority { 'Authority' }
.cache_control { 'Cache-Control' } .cache_control { 'Cache-Control' }
.clear_site_data { 'Clear-Site-Data' } .clear_site_data { 'Clear-Site-Data' }
.connection { 'Connection' } .connection { 'Connection' }