Fix incorrect handling of Expect: 100-continue

Fix #1808
This commit is contained in:
Sung, Po Han committed 2024-09-04 17:50:42 +08:00
1 parent b1f8e986bf
commit 7196ac8a07
3 files changed
+106 -2

No files matched your search

+3 -1
View File
@@ -24,9 +24,11 @@ else()
FetchContent_MakeAvailable(gtest)
endif()
find_package(curl REQUIRED)
add_executable(httplib-test test.cc)
target_compile_options(httplib-test PRIVATE "$<$<CXX_COMPILER_ID:MSVC>:/utf-8;/bigobj>")
target_link_libraries(httplib-test PRIVATE httplib GTest::gtest_main)
target_link_libraries(httplib-test PRIVATE httplib GTest::gtest_main CURL::libcurl)
gtest_discover_tests(httplib-test)
file(