laminas / laminas-psr7bridge

PSR-7 <-> laminas-http message conversions
https://docs.laminas.dev/laminas-psr7bridge/
BSD 3-Clause "New" or "Revised" License
12 stars 13 forks source link

ServerRequest parsedBody do not parse json #1

Closed weierophinney closed 4 years ago

weierophinney commented 4 years ago

In Expressive is BodyParamsMiddleware which handles body parsing (x-www-form-urlencoded and json). I think it would be useful to have same function in Psr7ServerRequest. I can create PR.


Originally posted by @vaclavvanik at https://github.com/zendframework/zend-psr7bridge/issues/36

Xerkus commented 4 years ago

Closing as such functionality would not belong here as this package is about converting request types between PSR-7 and laminas-http.