mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
The Connector exports to a String but Rails' `request.body` is an IO object. Since the used JSON-LD parser needs an IO object anyway and it can lower the memory usage we take IO objects as well and handle in-memory Strings only when given.