Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #5782 (new defect)

Opened 2 years ago

Last modified 2 years ago

ActionController::MimeResponds::InstanceMethods#respond_to should add 'Accept' value to response Vary header

Reported by: pic@supefluo.org Assigned to: David
Priority: normal Milestone:
Component: ActionPack Version:
Severity: normal Keywords: respond_to Vary Accept
Cc: pic@superfluo.org

Description

please take a look at this discussion in RESTful rails plugin mailing list: http://rubyforge.org/pipermail/restful-rails-general/2006-July/000027.html

We think that this header is necessary, otherwise problems could arise with caching proxy server.

Best.

Change History

08/17/06 06:13:15 changed by anonymous

  • cc set to pic@superfluo.org.
  • keywords set to respond_to Vary Accept.
  • summary changed from ActionController::MimeResponds::InstanceMethods#respond_to should add 'Accept' value to response vary header to ActionController::MimeResponds::InstanceMethods#respond_to should add 'Accept' value to response Vary header.