1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net.http: authority header

This commit is contained in:
Alexander Medvednikov 2021-10-17 06:40:12 +03:00
parent 678e3a210d
commit e6b7ab8b9d

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