
Hi! I'm looking for a smart way to read HTTP-Post data. Is request_handler::handle_request the right place to do this? Or should I better to use connection::handle_read? Any ideas (or even better, examples) anybody? I'm stuck. Regards, luky

Am Donnerstag, 19. Februar 2009 15:37:18 schrieb Christoph Schreiber:
Hi!
I'm looking for a smart way to read HTTP-Post data. Is request_handler::handle_request the right place to do this? Or should I better to use connection::handle_read? Any ideas (or even better, examples) anybody? I'm stuck.
The Handler in this example state is not capable of doing do. You need to expand the request_parser so it can read on after the header ended. It can be done by reacting to a received content-length header and the reading on after the CRLF. I just did that too ;-) Stephan
participants (2)
-
Christoph Schreiber
-
Stephan Menzel