You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OutgoingMessage._send misperforms ucs2 encoding of first chunk #11788
Version: master, at least since 5.x, maybe earlier
Platform: any
Subsystem: http
I figured out that http.OutgoingMessage tries to send the first chunk together with the headers by concating them together as a string (here), but ucs2 is not in the judgement list so it is treated same as binary or utf8, which causes the headers sent as ucs2 at the same time.
Activity
addaleax commentedon Apr 29, 2017
PR to fix this: #12747
http: fix first body chunk fast case for UTF-16
http: fix first body chunk fast case for UTF-16
http: fix first body chunk fast case for UTF-16
http: fix first body chunk fast case for UTF-16
http: fix first body chunk fast case for UTF-16