It seems to me add_header and error_page don’t work together (error
don’t have headers added in the http scope).
This (http://www.ruby-forum.com/topic/196700) old posting from 2009 also
says so, and claims the only workaround is the non-standard headers-more
Am I missing something? Any chance this oversight will be fixed in