req icon indicating copy to clipboard operation
req copied to clipboard

http1.1的user-agent问题

Open polarbear88 opened this issue 1 year ago • 0 comments

在http1.1中我用

r.SetHeaderNonCanonical("user-agent", clientInfo.Client.UserAgent)

这个方法设置了ua,在发出请求时,会再次添加User-Agent image

http2不存在此问题

polarbear88 avatar Nov 30 '23 09:11 polarbear88