Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Erik Hetzner's latest activity

Tuesday, May 03 2011
5277 Rails 3.0.0.RC responds strangely to empty Accept header was updated in Ruby on Rails
  • Erik Hetzner
    • State changed from stale to open
    by Erik Hetzner at 5:51 PM

    [state:open]

  • Erik Hetzner
    Erik Hetzner commented at 5:50 PM

    Still an issue. Attaching a new failing test against master.

Wednesday, February 02 2011
5277 Rails 3.0.0.RC responds strangely to empty Accept header was updated in Ruby on Rails
  • Erik Hetzner
    • State changed from stale to open
    by Erik Hetzner at 8:38 PM

    Yes, my submitted test still fails with the latest 3-0-stable branch. No new information.

    [state:open]

Sunday, December 05 2010
5278 Order of an accept header should not matter to respond_to (Rails 3.0.0.rc) was updated in Ruby on Rails
  • Erik Hetzner
    Erik Hetzner commented at 6:39 PM

    Maybe we can start over. I posted a comment on the blog post. Quotations are from the blog post.

    For all documents that have same q value give high priority to...

Saturday, December 04 2010
5278 Order of an accept header should not matter to respond_to (Rails 3.0.0.rc) was updated in Ruby on Rails
  • Erik Hetzner
    Erik Hetzner commented at 9:26 PM

    Hi Neeraj,

    Of course rails is free to return whatever it wants from the set of possible values supplied by the accept header, if they have equal q values.

    But t...

  • Erik Hetzner
    Erik Hetzner commented at 6:10 PM

    Thanks!

    A quick read of that blog post reveals:

    I am going to assume that in this case HTTP_ACCEPT sent by browser looks really simple like this text/javascrip...

Monday, October 11 2010
5277 Rails 3.0.0.RC responds strangely to empty Accept header was updated in Ruby on Rails
Saturday, October 09 2010
5278 Order of an accept header should not matter to respond_to (Rails 3.0.0.rc) was updated in Ruby on Rails
  • Erik Hetzner
    Erik Hetzner commented at 1:21 AM

    Hi Rohit,

    Here you go; hope I did things right.

Wednesday, August 04 2010
5278 Order of an accept header should not matter to respond_to (Rails 3.0.0.rc) was updated in Ruby on Rails
  • Erik Hetzner
    Erik Hetzner commented at 12:43 AM

    As background, I encountered this bug when attempting to create & view a resource that only had an Atom representation:

    def recent
      respond_to do |format|
       ...
  • Erik Hetzner
    Erik Hetzner commented at 12:31 AM

    Above, third paragraph should be:

    While IE's Accept header is a little strange, it is basically equivalent to "*/*", which is not a ridiculous header to send i...