Commit Graph

53 Commits

Author SHA1 Message Date
Jaeseung Ha
ef17b8cb9b Merge branch 'master' into master 2017-09-17 18:01:57 +09:00
Jaeseung Ha
13fdc9390b Merge pull request #202 from Rasie1/master
Conflict with std namespace
2017-09-17 13:50:50 +09:00
Jamie Bullock
679fe4a8ac Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
2017-09-04 16:40:40 +01:00
Jamie Bullock
9a1e4aefdd Revert "Add support for HTTP 422 status code"
This reverts commit 6e4e66ad12.
2017-09-04 16:38:51 +01:00
Jamie Bullock
6e4e66ad12 Add support for HTTP 422 status code
See: https://tools.ietf.org/html/rfc4918#section-11.2
2017-09-04 16:08:02 +01:00
Rasie1
15d377907f Update amalgamate 2017-03-16 19:27:34 +03:00
Vsevolod Kvachev
32d66d6fd1 Upgrade amalgamate 2016-12-06 18:22:10 +03:00
Sergiu Giurgiu
c63113f825 Removed strict-aliasing warning 2016-12-04 14:03:20 -05:00
ipknHama
6410907234 Update amalgamate 2016-09-21 23:17:29 +09:00
ipknHama
8b04940d2f Upgrade amalgamate 2016-09-15 17:30:21 +09:00
ipknHama
806ef51092 Update amalgamate 2016-09-10 02:43:33 +09:00
Jaeseung Ha
d957b3444b Update amalgamate 2016-09-06 09:41:39 +09:00
ipknHama
c44bcf2dc3 Update amalgamate 2016-08-28 14:46:44 +09:00
ipknHama
45f6d12fd3 Update amalgamate 2016-08-27 18:13:13 +09:00
ipknHama
e161da45e0 Remove warnings: manually applying #101, #104 2016-08-27 18:03:49 +09:00
ipknHama
abc36e1b3a Update amalgamate 2016-08-27 14:40:02 +09:00
ipknHama
da4bb3aeab update amalgamate 2016-05-23 22:04:33 +09:00
Samuel Marks
37085e09c4 [Feature] JSON body i() now works with strings. Added better error messages also. 2015-09-27 14:36:08 +10:00
Samuel Marks
55dd19eb81 [Feature] JSON response can now include status code 2015-09-27 13:33:09 +10:00
Jaeseung Ha
e4708671bc implement HTTPS support
- define CROW_ENABLE_SSL to use
 - close #88
2015-09-20 22:06:00 +09:00
Martin Kemp
7a3cb43473 No need to decode utf-8 strings already. 2015-07-30 16:05:57 +01:00
Martin Kemp
18c9d69b2d Initial py3 compatibility. 2015-07-30 15:59:54 +01:00
ipknHama
acf686d3dd update amalgate 2015-05-27 14:49:40 -04:00
ipknHama
cc91e2a5c4 Update amalgate 2015-02-21 06:47:48 +09:00
ipknHama
5d8d527639 add run-time check for handler type for route_dynamic 2015-02-19 12:16:28 +09:00
ipknHama
c8dbd421c9 update amalgate 2015-02-19 01:47:39 +09:00
Jaeseung Ha
07042b55fd fix #27 : handling routes with trailing slash 2015-01-19 19:03:06 +09:00
ipknHama
3fc1424e62 fix issue #39, bug at assigning vector to json wvalue 2015-01-08 08:22:06 +09:00
ipknHama
f6fdf68fe2 Merge branch 'try-catch-handle' of https://github.com/acron0/crow into acron0-try-catch-handle
Conflicts:
	amalgamate/crow_all.h
2014-12-12 07:29:08 +09:00
ipknHama
966867a9ca change pointer to reference; fix up spaces 2014-12-12 01:38:57 +09:00
Antony Woods
c2f75a7de1 Merged upstream 2014-12-10 17:29:31 +00:00
Antony Woods
a1751967c3 Added a general purpose try-catch around handle() for instances where an exception would cause the server to never return a response. At some later date we would possibly still wish to provide a custom hook for dealing with 500s. Also note, after an exception is caught, the generated 500 response is still sent to middleware handlers 2014-12-10 17:24:13 +00:00
ipkn
21b027774e Merge pull request #38 from acron0/json-bool
Added boolean types to json rvalue (.b()) including test
2014-11-12 09:23:21 +09:00
ipknHama
79e8fa19f6 amalgamation update 2014-11-09 09:10:46 +09:00
Jaeseung Ha
49cad23ac9 Fixes #32 by chaing types for operator overloading from int32_t to int, long 2014-11-09 08:20:04 +09:00
Antony Woods
5120b127b0 Merged changes from master 2014-11-06 14:16:07 +00:00
Antony Woods
6d24711208 Added boolean types to json rvalue (.b()) including tests 2014-11-06 14:10:38 +00:00
Antony Woods
738d5d47b5 Responses constructed from json::wvalue now automatically set the appropriate Content-Type header 2014-11-04 17:12:52 +00:00
Antony Woods
693aac108d Post-pull commit 2014-10-24 09:40:09 +01:00
Antony Woods
27bf11d35c Re-implemented 'get_middleware()' as suggested, without changing the Server constructor and now no longer encountering hangs 2014-10-23 18:33:03 +01:00
ipknHama
5c5c8fb4f5 improve code quality
add missing includes (for amalgation)
remove register keyword (remove clang warning)
change define names to avoid name collision
remove url size limit from query_string.h
change MAX_KV_PAIRS define to const variable
add & to arguments
readability improve (although it requires additional allocation)
2014-10-24 01:18:29 +09:00
Antony Woods
ada3039707 Fixed compiler errors and inlines some of the qs_parse functions 2014-10-22 09:40:33 +01:00
Antony Woods
6a2def410c Fixed merge oddities 2014-10-14 18:25:22 +01:00
Antony Woods
06842721d7 Wrapped qs_parse as query_string and added tests 2014-10-14 09:48:35 +01:00
ipknHama
a5fab23f70 HTTP GET/POST method distinguish 2014-10-07 21:51:24 +09:00
ipknHama
3e5e91c424 Now amalgamation will be updated automatically. 2014-09-27 20:03:51 +09:00
ipknHama
301587b469 fix example_chat crash bug when using (req, res) handler 2014-09-14 20:12:18 +09:00
ipknHama
cfc3705ea4 update amalgamate 2014-09-14 08:18:09 +09:00
ipknHama
b1b87a6c5a fix compile error
- add consturctor to request
 - remove unused type using
 - include "logging.h" from dumb_timer_queue.h (who uses CROW_LOG_DEBUG)
2014-09-12 12:17:10 +09:00
ipknHama
9eb96b7f4c Implement example CookieParser middleware and test 2014-09-11 06:32:41 +09:00