Explicitly set the HTTP status when returning resources.
1 files changed, 2 insertions(+), 0 deletions(-) M lib/thingfish/handler.rb
M lib/thingfish/handler.rb +2 -0
@@ 338,6 338,7 @@ class Thingfish::Handler < Strelka::App res.body = object res.content_type = metadata['format'] + res.status = HTTP::OK return res end @@ 369,6 370,7 @@ class Thingfish::Handler < Strelka::App res.body = object end + res.status = HTTP::OK return res end