Closed postmodern closed 4 months ago
The Validations::HTTPParams HTTP Header parser logic should be able to handle the following header text:
Validations::HTTPParams
X-Foo: foo X-Bar: bar
{"X-Foo"=>"foo", "X-Bar"=>"bar"}
X-Foo: foo1 X-Foo: foo2 X-Bar: bar
{"X-Foo"=>["foo1", "foo2"], "X-Bar"=>"bar"}
Fixed by bc7e92b and 1e4700b825147a40d0a3c93972ca960e57499aae.
The
Validations::HTTPParams
HTTP Header parser logic should be able to handle the following header text: