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.
Tests
This directory contains tests for the library and is mostly useful for the
library developers. See the samples subdirectory for the examples that are
more useful to the application developers using the library.
If you do work on the library itself and would like to modify an existing or
add a new test, please see docs/contributing/how-to-write-unit-tests.md for
more information.
This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.