valeriansaliou / bloom

:cherry_blossom: HTTP REST API caching middleware, to be used between load balancers and REST API workers.

Home Page:https://crates.io/crates/bloom-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newline being added to the response

abbudao opened this issue · comments

Hey @valeriansaliou, how are you doing?
I've started to adopt bloom in my company to cache some services. One of these services is a legacy system that returns bare strings as responses (neither JSON nor XML). When adding bloom to cache responses, we noticed that a newline was being added to the response, which broke some services that weren't expecting it.
I read most of the source code and couldn't find anything that could be adding this additional character, but you know better where to look. In the meantime, I will create a minimal reproducible example to debug it better.