fastly/fastly-rails — pull request #28 by jessieay (2014-09-13 00:17:59+00:00)
Title: Add optional middleware for removing `Set-Cookie`

* In my case, Clearance middleware was adding `Set-Cookie` to every request
* This occured after `set_cache_control_headers` was called, whether it was a
`before_filter` or `after_filter`
* Optional middleware looks for `Surrogate-Control` header so it only removes
`Set-Cookie` for endpoints not being cached by Fastly