lib/fluent/plugin/in_http.rb in fluentd-0.12.33 vs lib/fluent/plugin/in_http.rb in fluentd-0.12.34
- old
+ new
@@ -353,9 +353,11 @@
elsif @content_type =~ /^multipart\/form-data; boundary=(.+)/
boundary = WEBrick::HTTPUtils.dequote($1)
params.update WEBrick::HTTPUtils.parse_form_data(@body, boundary)
elsif @content_type =~ /^application\/json/
params['json'] = @body
+ elsif @content_type =~ /^application\/msgpack/
+ params['msgpack'] = @body
end
path_info = uri.path
params.merge!(@env)
@env.clear