This project is archived and is in readonly mode.

#1556 ✓wontfix
Chris Lloyd

Teapot HTTP Status Code Missing

Reported by Chris Lloyd | December 11th, 2008 @ 01:57 AM | in 2.x

I'm attempting to make a service-orientated, consumer driven, web 2.0 coffee service provider called "iCoffeeZ". This product is a enterprise ready solution for delivering coffee services to the end user whilst running in the Cloud.

I found that Rails doesn't have a symbol for the HTTP status code 418 (I'm a Teapot) as defined in RFC2324 (Section 2.3.2). Thus my service has trying to send "alcohol-type" headers to incompatible machines.

The attached patch includes this status code so that I may continue to develop iCoffeeZ with full HTTP compliance. Thank you very much.

Chris

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages