mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-28 15:50:17 +08:00
This reverts commit8395e5733dbecause HTTP standard says that senders MUST NOT generate multiple lines with the same header, with the only exception of Set-Cookie, so we shouldn't provide a way to do it. That commit also introduced a nasty regression with the programs calling AddCommonHeader("User-Agent") not working at all any more after it because WinHTTP refuses to send a request with multiple copies of this header. Also partially reverts1000d67c13which was done later but is logically part of the same commit that is being reverted. See #24881.