
3 Apr
2008
3 Apr
'08
3:15 p.m.
On 30/03/2008, Darren Garvey <darren.garvey@gmail.com> wrote:
On 30/03/2008, Mathias Gaunard <mathias.gaunard@ens-lyon.org> wrote:
Identifiers with only capitals are usually reserved for macros. Therefore GET/POST/whatever aren't such good names, IMO.
Ok, good point. I just recently added an operator[] overload to basic_request<> which means instead of:
req.GET("whatever");
you can do:
req[get_data]["whatever"];
Apologies to those who tried and failed compiling the examples... It seems I merged these changes into the examples but not the headers. Should be fixed now. Regards, Darren