rmaake1 / httpstatuses

A directory of HTTP Status Codes and code references
https://httpstatuses.com
MIT License
592 stars 77 forks source link

I'm a teapot status removed from Rails #42

Closed hansottowirtz closed 8 years ago

hansottowirtz commented 8 years ago

As status code 418 => "I'm A Teapot" was removed from Rack at https://github.com/rack/rack/blob/master/lib/rack/utils.rb#L552, the Rails status symbol :i'm_ateapot does not exist anymore. The new status to symbol code `message.downcase.gsub(/\s|-|'/, '').to_sym` would have made it :i_m_a_teapot, by the way.

shrink commented 8 years ago

Thank you! Looks like it was removed in this commit in November 2014, not long after it was added to httpstatuses.com. I'll remove it from the site.