Il 16/03/18 15:59, Anthony ha scritto: > I'm not sure if it includes the entire original HTTP message or just > the request body, but you can try request.env['wsgi.input']. If that > doesn't work, web2py (and probably any WSGI-compliant framework) would > not have access to the original HTTP message (which is parsed by the > web server before passing request data to the web framework/application). > > Anthony
Thanks Anthony for your attention, now I've solved... there was no problem in the procedure but in the tested data I copied from web services (such as requestb.in or directly from the woocommerce event log web page) that I didn't notice they were converting string such as "€" into the character €. That's why I didn't get the correct encoded string. Directly using what I get from request.body.read() everything worked fine. Best regards Manuele -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.