Re: RFC: Server-Side Request and Response Objects (v2)
| From: | Benjamin Morel | Date: | Fri, 14 Feb 2020 16:47:39 +0000 |
| Subject: | Re: RFC: Server-Side Request and Response Objects (v2) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108585@lists.php.net to get a copy of this message | ||
>
> What about $query and $body? That would be closer to the terminology
> used in HTTP RFCs.
The problem is that $body is typically used to get the raw message body as
a string or stream.
I was thinking more something along the lines of $bodyParams, which is more
verbose but leaves no ambiguity: *$queryParams* and *$bodyParams*.
— Benjamin