Closed rykov closed 12 years ago
Net::HTTP#initialize_http_header crashes when you try to create a nil-valued header. An upstream middleware (like Rack::Cache) tends to send those values.
This patch prevents those headers from passing through.
Thank you!
No problem. Do you mind pushing this as a new gem version?
not at all. having a nasty case of cold atm. will cut a new gem tonight or tomorrow.
Thanks!
Net::HTTP#initialize_http_header crashes when you try to create a nil-valued header. An upstream middleware (like Rack::Cache) tends to send those values.
This patch prevents those headers from passing through.