0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-14 20:39:36 +03:00

Update proto file for websocket and httpupgrade (breaking)

This commit is contained in:
yuhan6665
2024-03-29 01:39:59 -04:00
committed by RPRX
parent 53e5814d19
commit e2302b421c
12 changed files with 121 additions and 194 deletions

View File

@ -22,8 +22,8 @@ func (c *Config) GetNormalizedPath() string {
func (c *Config) GetRequestHeader() http.Header {
header := http.Header{}
for _, h := range c.Header {
header.Add(h.Key, h.Value)
for k, v := range c.Header {
header.Add(k, v)
}
return header
}