amco / dolly

Not an ORM for CouchDB in rails.
8 stars 3 forks source link

HTTP response returned always as simple text #126

Open javierg opened 7 years ago

javierg commented 7 years ago

HTTParty should return the response based on the body contents type, but since we are missing the Accept header the content is always returned as simple text

javierg commented 7 years ago

This change will return a parsed has from parsed_response instead of a simple json string. This can break a lots of client apps and need to change how the response is handled on them.