diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/net/hippie/content_type_mapper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/hippie/content_type_mapper.rb b/lib/net/hippie/content_type_mapper.rb index 6c8b284..f210419 100644 --- a/lib/net/hippie/content_type_mapper.rb +++ b/lib/net/hippie/content_type_mapper.rb @@ -7,6 +7,7 @@ module Net def map_from(headers, body) content_type = headers['Content-Type'] || '' return JSON.generate(body) if content_type.include?('json') + body end end |
