class HTTPInputWebServer
We keep the redefined method in a new http server class, this is because in other parts of logstash we might be using puma as webserver, for example in the sinatra part we need this method to actually return the REQUEST_PATH, so it can actually infer the right resource to use. Fixes github.com/logstash-plugins/logstash-input-http/issues/51
Public Instance Methods
normalize_env(env, client)
click to toggle source
ensure this method doesn't mess up our vanilla request
# File lib/logstash/inputs/http.rb, line 21 def normalize_env(env, client); end