Luca Schlecker
126d79dc38
cookie_parser & query_string: use std::unique_ptr instead of raw pointers.
2022-06-18 17:21:37 +03:00
Luca Schlecker
60ca594b91
cookie_parser: use utility::trim instead of boost::trim.
2022-06-18 17:21:37 +03:00
Luca Schlecker
8d0d4c80ee
Remove usage of boost::optional.
...
Move to pointers instead.
This implementation relies on the safe deletion of `nullptr`.
2022-06-18 17:21:37 +03:00
Vladislav Oleshko
81ae1c9de2
Replace optional with empty string
2022-05-07 12:09:22 +03:00
Vladislav Oleshko
51bb6062ef
Rename format, refactor dump
2022-05-07 12:09:22 +03:00
Vladislav Oleshko
a01e39cf5d
Use std::tm instead of boost
2022-05-07 12:09:22 +03:00
Vladislav Oleshko
988926660e
Support zero max-age for instant expiration
2022-05-07 12:09:22 +03:00
Vladislav Oleshko
76d7ae3dac
Add attribute support to cookie parser
2022-05-07 12:09:22 +03:00
Vladislav Oleshko
bccc03c141
Add inline decl to CORSRules helpers
2022-04-08 14:00:17 +03:00
The-EDev
a3c1af4b29
updated documentation in mkdocs and doxygen
2022-03-24 01:55:46 +03:00
Vladislav Oleshko
1c4416ef8d
Fixes. Complete builder pattern. Add testcase
2022-03-08 16:33:08 +03:00
Vladislav Oleshko
6432d4486d
Add example and test
2022-02-22 17:38:51 +03:00
Vladislav Oleshko
13d62841df
CORS Middleware
2022-02-20 22:43:24 +03:00
The-EDev
03e59aa446
improved bracing rules, commented out clang-format 14 rule
2021-11-27 15:28:50 +03:00
The-EDev
7f4b7c8ff9
created new rules, used bot to enforce rules in PRs
2021-11-25 14:45:38 +03:00
The-EDev
f5338260bb
several changes:
...
added json list in a similar fashion to json object
renamed object_type to object
updated readme, index.html, and json.md to include objects and lists
updated examples to be slightly cleaner and include lists
replaced instances of json object (std::map and such) with the short version (object)
accurate floating point number dumping (`6.0` instead of `6`) while taking 1/30th of the time (29 microseconds saved)
added json list testing
snuck in utf-8 middleware warning fix
snuck in twitter card style for crowcpp.org site (makes social media cards look way better with a large image)
2021-08-20 03:57:21 +03:00
The-EDev
17819e6571
Added middleware to automatically use utf-8 if no content-type is in the response
2021-08-15 15:28:26 +03:00
The-EDev
384baaade4
moved middlewares folder inside crow folder
...
also fixed an issue where by default nothing is included
2020-11-11 23:43:57 +03:00