1
0
mirror of synced 2025-06-10 20:21:41 +03:00
Commit Graph

1507 Commits

Author SHA1 Message Date
9d3365df54 Fix #889 2021-04-05 11:40:53 -04:00
6ff84d34d1 Another simpler implementation of #890 (#891) 2021-04-02 18:25:04 -04:00
b845425cd0 Fix #878 v0.8.5 2021-03-16 19:42:44 -04:00
89519c88e2 Fix #874 2021-03-10 15:57:56 -05:00
ff813bf99d Fix #863 2021-02-17 15:36:56 -05:00
cf475bcb50 Fix #860 v0.8.4 2021-02-12 12:21:43 -05:00
bc80d7c789 Fixed ClientStop test problem 2021-02-06 20:12:30 -05:00
b7566f6961 Resolve #852 2021-02-02 22:09:35 -05:00
0542fdb8e4 Add exception handler (#845)
* Add exception handler

* revert content reader changes

* Add test for and fix exception handler

* Fix warning in test

* Readd exception test, improve readme note, don't rethrow errors, remove exception handler response
v0.8.3
2021-01-28 17:19:11 -05:00
78c474c744 Update README 2021-01-27 11:59:42 -05:00
88411a1f52 Fix #846 2021-01-27 14:35:32 +00:00
ae6cf70bc4 Updated README 2021-01-26 08:38:28 -05:00
68d1281759 Resolve #839 v0.8.2 2021-01-23 13:33:27 -05:00
0308d60cb2 Resolve #831 (#835) 2021-01-23 12:23:06 -05:00
59f5fdbb33 Resolve #840 2021-01-23 11:43:01 -05:00
13184f5f80 Return Server& from handler setters (#836)
* Update httplib.h

* Update httplib.h

* Update httplib.h

* Update httplib.h
2021-01-22 09:20:21 -05:00
8d9a477edb No content check (#823)
* No content check

* unit test for no content

* fixing merge conflict break

* oops during manual merge conflict
v0.8.1
2021-01-13 17:51:40 -05:00
85b4abbf16 Updated the simple example v0.8.0 2021-01-07 19:56:33 -05:00
e42a358da8 Updated README 2021-01-07 19:00:24 -05:00
f008fe4539 Added middleware support (#816) 2021-01-07 18:40:52 -05:00
ddf41d29ef Added const *char and size_t interface 2021-01-06 22:39:58 -05:00
3f88a46c4a Code format 2020-12-31 18:14:28 -05:00
242706ea34 Fix #820 2020-12-31 18:14:05 -05:00
a9f5f8683f Fixed warnings on Visual C++ 2020-12-31 11:35:11 -05:00
60c2213893 Fix #817 2020-12-31 10:58:44 -05:00
eb2d28bca2 Code cleanup 2020-12-31 10:37:06 -05:00
86f637a246 Added encode_uri_param tests with UTF-8 characters (#818)
Remove additional lines between tests
2020-12-30 23:06:36 -05:00
2c07ec4600 Code cleanup 2020-12-29 09:39:19 -05:00
871d8d67b0 Made Request paramater const in handle_file_request 2020-12-28 22:03:44 -05:00
7299713195 Fix readme Response::set_chunked_content_provider (#811)
`Response::set_chunked_content_provider` has formal parameters, not one.
2020-12-25 19:55:57 -05:00
96afa7e108 Updated README 2020-12-21 13:40:32 -05:00
55f57af0b9 Update README 2020-12-21 09:27:36 -05:00
6b35cd0116 Updated README 2020-12-21 08:15:06 -05:00
99f2229e48 Updated README 2020-12-19 22:43:31 -05:00
b9641048fc Switch to hghttp2.org/httpbin for redirect test. (#538) 2020-12-19 20:27:52 -05:00
e9c6c6e609 Code format 2020-12-19 20:14:53 -05:00
40db42108f Fixed problem with invalid requests including spaces in URL path v0.7.18 2020-12-19 12:03:08 -05:00
24bb1387d6 Update README.md (#806) 2020-12-19 11:12:44 -05:00
d0bd4afb0b Ensure socket is closed after processing in SSLServer (#804) 2020-12-18 19:29:36 -05:00
78ea786abd [PR] Special function to encode query params (#801)
* Special function to encode query params

* Fix #include <iomanip>

* Added unescaped charsets to encode_query_param

* Unit tests for encode_query_param
2020-12-18 17:51:11 -05:00
9cac2c9ceb typo: specitic => specific (#802) 2020-12-18 15:12:21 -05:00
0cff3245df Extend built-in extension MIME mapping (#799)
* Update README.md

* Update httplib.h

* Update httplib.h

* Update httplib.h

* Update httplib.h

* Remove duplicate cases

Someone left a bunch of duplicate cases, idiot, couldn't have been me.

* Reformat

Modify spacing and whatnot

* Update README.md
2020-12-18 09:32:19 -05:00
0e3925db3f Fixed build error 2020-12-18 00:07:48 +00:00
c9a13d214b Changed not to use string_view 2020-12-17 18:48:27 -05:00
0954af2d4c Use user-defined literals for file extention match 2020-12-17 18:27:04 -05:00
7c1c952f5a Don't allow invalid status code format (It sould be a three-digit code.) 2020-12-15 20:25:24 -05:00
a6edfc730a Added a unit test for static file with range 2020-12-15 18:47:51 -05:00
c1264bfedc Fix problem with mp4 w/ Range header 2020-12-14 22:41:05 -05:00
90a5b6ceb0 Updated README 2020-12-04 19:39:39 -05:00
eb240ad2e5 Code cleanup 2020-12-03 16:03:12 -05:00