The-EDev
3234c924cf
disable compression on static files
2021-01-21 06:46:54 +03:00
Farook Al-Sammarraie
5449e75d0f
Merge pull request #84 from CrowCpp/returnables
...
Allow handlers to return more than just strings or JSON
2021-01-15 10:42:04 +03:00
The-EDev
75feb183b1
Merge branch 'master'
...
Conflicts:
CMakeLists.txt
2021-01-15 03:47:40 +03:00
The-EDev
b72ee2a4e8
Added virtual destructor to fix clang compilation
2021-01-15 03:45:57 +03:00
Igor Mróz
d347c09b5a
Merge pull request #96 from madduci/master
...
Improving CMakeLists.txt
2021-01-14 09:04:46 +01:00
Michele Adduci
ccb7dca9d6
Added explicit message when OpenSSL is not found
...
example_ssl won't be built if OpenSSL is not found: a status message will be shown instead
2021-01-14 06:19:15 +01:00
Michele Adduci
bc250a3f66
Cleaned up indentation, added comments, bumped Boost minimum version to 1.64
2021-01-12 13:31:33 +01:00
Michele Adduci
761ddce949
Reenabling tests and examples by default
2021-01-11 07:04:46 +01:00
Michele Adduci
96e1b2c157
Fixed issue with compiler options
2021-01-11 06:59:32 +01:00
Michele Adduci
3cb9222054
Updated cmake
2021-01-08 16:23:15 +01:00
Michele Adduci
eb8ad4b685
Added new cmake modules
2021-01-08 16:15:45 +01:00
Michele Adduci
6d4c7d8a9b
New CMake refactoring
2021-01-08 16:13:39 +01:00
Michele Adduci
e3cc251202
Improving CMakeLists.txt
...
- Added options BUILD_EXAMPLES and BUILD_TESTING to switch examples on/off during compilationusing standard CMake variable to set the C++ Standard, independently from the compiler
- Using OpenSSL only if BUILD_EXAMPLES are activated, since it's required by Boost ASIO only at runtime as dynamic library
2021-01-06 08:10:59 +01:00
The-EDev
cf217d3c1f
Merge branch 'master'
2021-01-05 17:51:57 +03:00
The-EDev
33f1206571
made json a returnable type and removed json specific code
2021-01-05 17:49:10 +03:00
Farook Al-Sammarraie
45c41b6de6
Merge pull request #87 from CrowCpp/redirection
...
Redirect to Route if no `http` is in the Location parameter
2021-01-05 15:09:16 +03:00
Farook Al-Sammarraie
05f5263d86
Merge branch 'master' into redirection
2021-01-05 15:09:01 +03:00
Farook Al-Sammarraie
251dafa82c
Merge pull request #95 from CrowCpp/docs_server_setup
...
added documentation for testing, proxies, and systemd setup
2021-01-05 13:23:52 +03:00
The-EDev
7ee3439800
added documentation for testing, proxies, and systemd setup
2021-01-05 08:59:32 +03:00
The-EDev
24fc57d453
location != ""
-> !location.empty()
2021-01-03 17:56:19 +03:00
The-EDev
187649dc4c
added zlib copyright notice to readme
2021-01-02 22:21:08 +03:00
The-EDev
09d0f4ccdd
Added HTTP compression using gzip or deflate (disabled by default, requires calling method)
2021-01-02 22:12:04 +03:00
The-EDev
97dea47eb0
Changed the behaviour of redirect
function to redirect to a route if no http://
is available
...
Also added `redirect_perm`, `moved`, and `moved_perm` functions with their status codes.
And corrected the description of the `raw_url` member.
2020-12-26 19:54:41 +03:00
Farook Al-Sammarraie
28ef0a939b
Merge pull request #85 from NRizzoInc/fix/signal-handling
...
[fix] Make signal handler optional
2020-12-20 08:23:08 +03:00
Nick Rizzo
3945251869
[fix] Make signal handler optional
2020-12-19 14:05:27 -05:00
The-EDev
9db47120e7
added documentation
...
also removed extra header meant for testing
2020-12-19 14:30:20 +03:00
The-EDev
ed2a7ae0e0
Added returnables class and applied to multipart
...
did not apply to JSON because it caused a linker error
also changed the version of boost required in CMAKE
2020-12-18 12:28:37 +03:00
Farook Al-Sammarraie
0f5f9793bd
Merge pull request #80 from ayaankhan98/install-rules
...
cmake install rules
2020-12-06 16:42:18 +03:00
ayaankhan98
91ec742a8e
fix: c -> C
2020-12-06 18:55:59 +05:30
ayaankhan98
5a2af02e75
fix: docs
2020-12-06 18:54:39 +05:30
ayaankhan98
383860a22e
fix: docs
2020-12-06 18:33:19 +05:30
ayaankhan98
552db5bfa5
added docs
2020-12-06 15:32:56 +05:30
ayaankhan98
4d7283bc2b
cmake install rules
2020-12-05 12:51:00 +05:30
The-EDev
9b2745db3a
Update README.md
2020-12-03 18:23:01 +03:00
Farook Al-Sammarraie
c81a2d84e4
Merge pull request #76 from ayaankhan98/master
...
recieve response without request being another argument in handler
2020-12-03 15:53:11 +03:00
ayaankhan98
0bca73dbf6
added missing <br>
2020-12-03 18:16:19 +05:30
ayaankhan98
c4bbbc1c72
Merge branch 'master' of https://github.com/ayaankhan98/crow
2020-12-03 12:49:09 +05:30
ayaankhan98
6c9b7e18a4
fix: docs routes.md
2020-12-03 12:48:58 +05:30
Ayaan Khan
716aa046fc
Merge branch 'master' into master
2020-12-03 12:46:57 +05:30
ayaankhan98
87e29c2aba
fix: std::string && req parameter
2020-12-03 12:46:38 +05:30
ayaankhan98
8371bdb09f
fix: std::string && req parameter
2020-12-03 12:43:50 +05:30
Farook Al-Sammarraie
0e7cee6ef1
Merge pull request #79 from makaveli/39-settable-server-name
...
Settable server name feature
2020-12-03 04:27:18 +03:00
Makaveli
9bc030478f
Settable server name feature
2020-12-02 20:15:05 -05:00
ayaankhan98
ec29121c22
fix clang build
2020-12-02 22:59:45 +05:30
ayaankhan98
fcce57d232
revert: new handler_ changes
2020-12-02 16:37:43 +05:30
ayaankhan98
770359e79f
fix: ambigous call and example
2020-12-02 15:36:29 +05:30
ayaankhan98
737a3384ae
removed extra changes
2020-12-01 14:39:11 +05:30
ayaankhan98
6f31e597a0
Merge branch 'master' of https://github.com/ayaankhan98/crow
2020-12-01 12:36:09 +05:30
ayaankhan98
acab73ef68
removed extra req arg
2020-12-01 12:35:46 +05:30
Ayaan Khan
6c7bef1eda
Merge branch 'master' into master
2020-12-01 12:03:02 +05:30