Date header missing
-
macournoyer
- State changed from new to invalid
Thx for pointing this out Paul. But like you mentioned, Thin is to be used being a proxy server which should take care of this.
If it's important for you that Thin sets the Date header you can build a simple Rack middleware to do so.
class DateHeader def initialize(app) @app = app end def call(env) status, headers, body = @app.call(env) headers["Date"] = Time.now.rfc_2822.to_s status, headers, body end end
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.