logstash-plugins / logstash-filter-http

HTTP Filter Plugin for Logstash
Apache License 2.0
12 stars 29 forks source link

Fix: do not set content-type if provided by user #36

Closed kares closed 2 years ago

kares commented 2 years ago

When user sets:

filter {
  http {  
    headers => { "Content-Type" => "application/xml" }
  }
}

the filter should not add another content-type => text/plain header