Pylons / pyramid

Pyramid - A Python web framework
https://trypyramid.com/
Other
3.97k stars 887 forks source link

Adding HTTP client error 418. #3667

Closed jenstroeger closed 2 years ago

jenstroeger commented 3 years ago

I would have liked to submit this PR on 1. April, but alas… ☺️

digitalresistor commented 3 years ago

https://tools.ietf.org/html/rfc2324#section-2.3.2 specifies that the body if provided should be: "short and stout"

Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.

Other than that this PR looks good.

digitalresistor commented 2 years ago

@jenstroeger could you add yourself to CONTRIBUTORS.txt please, unless I somehow missed you in there.

jenstroeger commented 2 years ago

@bertjwregeer done.

digitalresistor commented 2 years ago

Thank you!

digitalresistor commented 2 years ago

It'll be a good April fools this year :P

jenstroeger commented 2 years ago

Indeed so, thank you @bertjwregeer!