1
0
mirror of synced 2025-12-17 04:02:14 +03:00

Commit Graph

  • 51b704b902 Implement SSEClient (#2308) master yhirose 2025-12-15 00:00:42 -05:00
  • 54983f1dcb Fix Windows problem SSEClient yhirose 2025-12-14 20:17:11 -05:00
  • b35c468cca Implement SSEClient yhirose 2025-12-14 19:10:34 -05:00
  • 7eb03e81fc Refactoring yhirose 2025-12-14 17:41:11 -05:00
  • 6a6d4161d1 Removed DigestAuthTest.FromHTTPWatch_Online_HTTPCan yhirose 2025-12-14 14:45:48 -05:00
  • 63b07ada43 Initial plan (#2307) Copilot 2025-12-14 13:54:29 -05:00
  • 13d698ea8d Initial plan copilot/fix-host-header-issue copilot-swe-agent[bot] 2025-12-14 12:29:00 +00:00
  • 2de4c59bc2 Add Zstd support through meson (#2293) Jean-Francois Simoneau 2025-12-13 23:55:58 -05:00
  • b7097f1386 Replace httpbin.org with httpcan.org (#2300) Jean-Francois Simoneau 2025-12-13 23:52:05 -05:00
  • 681d388247 Use move semantics for auth key and value (#2306) Aaron Gokaslan 2025-12-13 22:53:10 -05:00
  • ae94d64f67 Remove another unnecessary string copy (#2305) Aaron Gokaslan 2025-12-13 22:52:26 -05:00
  • 3401877d3d Change single char string literals to chars (#2304) Aaron Gokaslan 2025-12-13 22:52:12 -05:00
  • bce08e62f9 Remove unnecessary copies for AcceptEntry (#2303) Aaron Gokaslan 2025-12-13 22:49:58 -05:00
  • f4ecb96e54 Fix linker error on macOS (#2299) Carter Green 2025-12-11 19:12:31 -06:00
  • c23764269d Use std::move for boundary in set_boundary method (#2298) Aaron Gokaslan 2025-12-09 22:24:33 -05:00
  • f441cd2a44 Use std::move for content_provider in adapter (#2297) Aaron Gokaslan 2025-12-09 22:23:45 -05:00
  • c3613c6977 Update the split.py file (#2295) Miko 2025-12-08 19:18:01 -08:00
  • 87c2b4e584 Fix #2294 yhirose 2025-12-08 19:32:35 -05:00
  • c795ad1c32 Fix #2259. Add query string normalization to preserve parameter order in requests yhirose 2025-12-05 21:39:40 -05:00
  • 3e0fa33559 Implement ETag and Last-Modified support for static file responses and If-Range requests (#2286) yhirose 2025-12-05 18:58:54 -05:00
  • d63c40f58d Update HTTP-date parsing comments to reference RFC 9110 etag yhirose 2025-12-05 16:44:59 -05:00
  • 1fc6fbcfc6 Add tests for extreme date values and negative file modification time in ETag handling yhirose 2025-12-05 16:42:20 -05:00
  • 5e5ea9e9a3 Code cleanup yhirose 2025-12-05 16:18:02 -05:00
  • 5e14cda243 Fix #2287 yhirose 2025-12-05 08:50:12 -05:00
  • 33e0bbfb35 Refactor ETag comparison logic and add test for If-None-Match with non-existent file yhirose 2025-12-05 15:54:32 -05:00
  • ef2b0a8d0b Enhance ETag handling and validation in httplib.h and add comprehensive tests in test.cc yhirose 2025-12-05 15:23:58 -05:00
  • 08e237bfb3 Update httplib.h yhirose 2025-12-05 15:12:37 -05:00
  • 27e19a084d Update httplib.h yhirose 2025-12-05 15:11:25 -05:00
  • 7bbff160f0 Update test/test.cc yhirose 2025-12-05 15:09:52 -05:00
  • ee595cae63 Update httplib.h yhirose 2025-12-05 15:09:08 -05:00
  • 79a8307fbf Code cleanup yhirose 2025-12-05 14:53:33 -05:00
  • ec170f3ffa Refactor ETag handling: extract check_if_not_modified and check_if_range methods for improved readability and maintainability yhirose 2025-12-05 14:23:45 -05:00
  • 42e762ddd6 Refactor ETag handling: use 'auto' for type inference and improve code readability yhirose 2025-12-05 12:42:46 -05:00
  • c5dfb1019c Update httplib.h yhirose 2025-12-05 12:36:31 -05:00
  • 7856cc2520 Update httplib.h yhirose 2025-12-05 12:34:49 -05:00
  • 27b73f050e Fix #2287 yhirose 2025-12-05 08:50:12 -05:00
  • 82e892db2d Resolved code review comments yhirose 2025-12-05 00:32:30 -05:00
  • 593199caa4 Update httplib.h yhirose 2025-12-05 00:29:11 -05:00
  • 1c30c629a5 Fix type for mtime in FileStat and improve ETag handling comments yhirose 2025-12-05 00:13:51 -05:00
  • dc77463896 Refactor ETag handling: separate strong and weak ETag checks for If-Range requests yhirose 2025-12-05 00:09:01 -05:00
  • ee01189189 Update httplib.h yhirose 2025-12-05 00:02:04 -05:00
  • f0f356797f Update test/test.cc yhirose 2025-12-05 00:01:52 -05:00
  • 536e637877 Update httplib.h yhirose 2025-12-05 00:00:19 -05:00
  • d934f569cb Enhance HTTP date parsing with improved error handling and locale support yhirose 2025-12-04 23:45:33 -05:00
  • 8d6123c126 Add ETag and Last-Modified handling for If-Range requests yhirose 2025-12-04 23:15:29 -05:00
  • ce37f8b89a Fix #2242: Implement ETag and Last-Modified support for static file responses yhirose 2025-12-04 22:52:34 -05:00
  • dbd5ca4bf2 Add error handling for stream read timeouts and connection closures yhirose 2025-12-03 23:56:04 -05:00
  • 143019a38c Fix #2284 yhirose 2025-12-02 17:24:27 -05:00
  • 1d36013fc3 Update README yhirose 2025-12-02 17:08:53 -05:00
  • 8bba34eebc Add New Streaming API support (#2281) yhirose 2025-12-01 21:40:13 -05:00
  • 0a9102ff6b Optimize ThreadPool and MatcherBase constructors (#2283) Aaron Gokaslan 2025-11-30 18:49:23 -08:00
  • c1fa5e1710 chore: fix some typos in comments (#2282) bigmoonbit 2025-11-28 09:34:18 +08:00
  • 84796738fc Fix #2248 yhirose 2025-11-25 22:22:07 -05:00
  • adf58bf474 Release v0.28.0 v0.28.0 yhirose 2025-11-25 21:06:51 -05:00
  • 337fbb0793 Fix #2279 yhirose 2025-11-25 20:30:43 -05:00
  • 9e7861b0b4 Add #undef _res after including resolv.h to prevent macro conflicts (#2280) Copilot 2025-11-25 20:00:10 -05:00
  • 27ee115a60 Fix android getaddrinfo issue (#2273) Clarkok Zhang 2025-11-14 13:48:21 -08:00
  • 59882752aa Add Client::Post with both content provider and receiver (#2268) Clarkok Zhang 2025-11-14 11:52:06 -08:00
  • 61e9f7ce8f Fix #2270 yhirose 2025-11-14 14:17:04 -05:00
  • 1acf18876f CMake: Add HTTPLIB_SHARED option, don't define BUILD_SHARED_LIBS (#2266) VZ 2025-11-11 04:17:43 +01:00
  • 4b2b851dbb Fix HTTP 414 errors hanging until timeout (#2260) chansikpark 2025-11-02 22:23:42 -05:00
  • 551f96d4a2 Remove REMOTE_PORT dependency from UnixSocketTest.PeerPid yhirose 2025-10-27 20:40:12 -04:00
  • eacc1ca98e Release v0.27.0 v0.27.0 yhirose 2025-10-27 19:57:53 -04:00
  • ac9ebb0ee3 Merge commit from fork yhirose 2025-10-27 19:54:12 -04:00
  • 11eed05ce7 Fix #2255 and #2256 yhirose 2025-10-27 19:44:51 -04:00
  • f3bba0646a Fix benchmark test issue on Windows (#2258) yhirose 2025-10-27 18:27:55 -04:00
  • 2da189f88c Fix EventDispatcher problem (#2257) yhirose 2025-10-27 18:10:52 -04:00
  • 6e0f211cff Fix problem with .gitignore for examples yhirose 2025-10-27 17:54:27 -04:00
  • 318a3fe425 Fix problem with installing OpenSSL for Windows (#2254) yhirose 2025-10-25 22:35:21 -04:00
  • 2d8d524178 Fix #2251 yhirose 2025-10-25 22:06:42 -04:00
  • afa88dbe70 Fix #2250 yhirose 2025-10-25 21:36:53 -04:00
  • 08133b593b Merge branch 'staticlibs-ssl_error_reporting' yhirose 2025-10-25 19:32:31 -04:00
  • 8aedbf4547 Add a unit test yhirose 2025-10-25 19:31:48 -04:00
  • cde29362ef Merge branch 'ssl_error_reporting' of github.com:staticlibs/cpp-httplib into staticlibs-ssl_error_reporting yhirose 2025-10-25 19:09:09 -04:00
  • bae40fcdf2 Resolve #2237 yhirose 2025-10-25 16:48:45 -04:00
  • db561f5552 [cmake] FindBrotli: do not add Brotli:: targets if they already exist (#2249) crueter 2025-10-16 09:59:15 -04:00
  • 35c52c1ab9 build(meson): use C++17 for gtest >= 1.17.0 (#2241) Andrea Pappacoda 2025-09-20 21:06:49 +02:00
  • 23ff9a5605 Fix error reporting in SSLClient Alex Kasko 2025-09-18 13:44:39 +01:00
  • 41be1e24e3 Code cleanup yhirose 2025-09-15 07:59:53 -04:00
  • 6e52d0a057 Fix UB by use of dangling references in getaddrinfo_with_timeout (#2232) Jonas van den Berg 2025-09-15 02:05:09 +02:00
  • f72b4582e6 Fix: Fix Windows Cross-Compilation (#2234) apocelipes 2025-09-14 20:05:51 +08:00
  • 89c932f313 Release v0.26.0 v0.26.0 yhirose 2025-08-29 16:05:44 -04:00
  • eb5a65e0df Fix #2217 yhirose 2025-08-29 15:01:59 -04:00
  • 7a3b92bbd9 Fix: handle EAI_ALLDONE from gai_suspend in getaddrinfo_with_timeout (#2228) kgokalp 2025-08-28 18:08:32 +03:00
  • eb11032797 Fix platform problem yhirose 2025-08-27 00:31:14 -04:00
  • 54e75dc8ef Add manual run yhirose 2025-08-26 23:34:18 -04:00
  • b20b5fdd1f Add 'release-docker' workflow yhirose 2025-08-26 23:18:59 -04:00
  • f4cc542d4b Fix Dockerfile problem with CMD yhirose 2025-08-26 22:17:54 -04:00
  • 4285d33992 Fix #2223 (#2224) yhirose 2025-08-26 21:42:13 -04:00
  • 92b4f53012 clang-format yhirose 2025-08-26 20:29:26 -04:00
  • b8e21eac89 Initialize start time for server (#2220) tejas 2025-08-27 01:04:13 +05:30
  • 3fae5f1473 osx: fix inconsistent use of the macro TARGET_OS_OSX (#2222) Sergey 2025-08-26 09:46:51 -07:00
  • fe7fe15d2e build(meson): fix new build option names (#2208) Andrea Pappacoda 2025-08-19 21:22:08 +02:00
  • fbd6ce7a3f Make code sample compilable (#2207) Thomas Beutlich 2025-08-14 12:57:39 +02:00
  • dffce89514 #2201 Fix 32-bit MSVC compiler error due to unknown command #warning (#2202) Thomas Beutlich 2025-08-12 23:06:09 +02:00
  • 3f44c80fd3 Release v0.25.0 v0.25.0 yhirose 2025-08-07 20:58:39 -04:00
  • a2bb6f6c1e Update docker/main.cc yhirose 2025-08-07 20:57:37 -04:00
  • 7012e765e1 CMake: Check pointer size at configure time (#2197) Thomas Beutlich 2025-08-07 23:14:19 +02:00
  • b1c1fa2dc6 Code cleanup yhirose 2025-08-07 00:09:09 -04:00
  • fbee136dca Fix #2193. Allow _WIN32 yhirose 2025-08-06 23:05:42 -04:00