Reads HTTP request body (POST method). The the content length is 0,
the argument content will be allocated but empty on output.
The function returns the following error codes:
E_ALLOC if memory allocation failed.E_BOUNDS if content length is negative.E_EMPTY if content length is zero.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(cgi_env_type), | intent(inout) | :: | env |
CGI environment. |
||
| character(len=:), | intent(out), | allocatable | :: | content |
Returned request body. |