Nazım Can Bedir
2017-01-17 16:42:23 UTC
Hi Artyom,
First of all, thank you (and all other contributors) for developing such
good C++ web development library.
Now, in one of application I am developing; I need to pass HTTP context
in read-only manner. What I am trying to achieve is; writing predicate
functions taking const reference to context, and checking some
conditions related with the request. With current version of
http::context and application classes, this is not possible out-of-box.
That's why I attached a patch to add "const-correct" member functions;
which works well for my case. If it's possible, could you apply patch to
trunk? I prefer to not fork a project just for small changes.
Regards,
Nazim.
First of all, thank you (and all other contributors) for developing such
good C++ web development library.
Now, in one of application I am developing; I need to pass HTTP context
in read-only manner. What I am trying to achieve is; writing predicate
functions taking const reference to context, and checking some
conditions related with the request. With current version of
http::context and application classes, this is not possible out-of-box.
That's why I attached a patch to add "const-correct" member functions;
which works well for my case. If it's possible, could you apply patch to
trunk? I prefer to not fork a project just for small changes.
Regards,
Nazim.