ring

Ernesto Garcia 2023-10-23T10:58:16.867539Z

Hi all. Why does ring.util.request/body-string just slurp the body, disregarding the char encoding? Can't this cause decoding issues?

weavejester 2023-10-23T15:16:40.935139Z

That's likely an oversight. It should decode based on the charset (if one exists).

Ernesto Garcia 2023-10-23T17:38:10.599579Z

Should it be fixed?

weavejester 2023-10-24T17:32:37.407279Z

Yes. Or deprecated, as it looks like body-string is an old function and may not be relevant in modern code.