I skip the first part. I'll try to answer in the weekend.
Davide Marquês wrote:
>
> - ewgi_post is using ewgi_api:remote_user_data/2 to store the parsed
> data which doesn't seem right
> since according to the spec:
> remote_user_data: (Element 15) Any additional data provided by the
> authentication mechanism
Yes this is wrong. My fault.
I thought remote_user_data was the place to store the body of the
request, but I was wrong as it's said in the spec.
I'll try to fix this as soon as possible.
I think we should add an api to easily read the unparsed body of the
request.
We could add a ewgi_api:read_body that uses read_input in the
ewgi_context to get all the body in one step.
cheers,
filippo