No content length when throwing Dingo exception.
Open
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
For example when doing this there is no content-length header in the response:
```
throw new Dingo\Api\Exception\StoreResourceFailedException('Could not create new user.', $validator->errors());
```
Because there is no content length I just get an empty response instead of the validation errors.
Contributor guide
Assessment
This issue has not been assessed yet.