lib/faastruby/server/runner_methods.rb in faastruby-0.5.17 vs lib/faastruby/server/runner_methods.rb in faastruby-0.5.18

- old
+ new

@@ -38,10 +38,10 @@ when json headers["Content-Type"] ||= "application/json" resp_body = json.is_a?(String) ? json : Oj.dump(json) when html, inline headers["Content-Type"] ||= "text/html" - resp_body = html + resp_body = html || inline when text headers["Content-Type"] ||= "text/plain" resp_body = text when yaml headers["Content-Type"] ||= "application/yaml" \ No newline at end of file