lion/.changeset/eight-cooks-clap.md
Joren Broekema 63bb012e36 fix(ajax): fetchJSON to attempt parse JSON when missing content-type header
Co-authored-by: Nikhil Hundare <nikhil.hundare@gmail.com>
2023-02-28 14:04:37 +01:00

5 lines
154 B
Markdown

---
'@lion/ajax': patch
---
fetchJSON will try to parse Response body as JSON if the content-type headers are missing, in this case it will assume JSON.