Update streaming.rb

Set content-type to json only when paramter type-response is null