@HLunke
Hypertext Coffee Pot Control Protocol #htcpcp #RFC2324
@wtremmel

A very, very rudimentary RFC 2324 implementation in NGINX site configuration.

https://gist.github.com/questionlp/07ad5a8a3f68340fda8aaf8fd100312c

#RFC2324 #Teapot

Simple RFC 2324 Implementation in NGINX

Simple RFC 2324 Implementation in NGINX. GitHub Gist: instantly share code, notes, and snippets.

Gist

I guess there isn't an easy way of implementing RFC 2324 with FastAPI?

Adding a limited implementation to a Flask web application was pretty darn easy 😅

https://github.com/questionlp/stats.wwdt.me/blob/main/app/main/routes.py

#FastAPI #Flask #Python #RFC2324

stats.wwdt.me/app/main/routes.py at main · questionlp/stats.wwdt.me

Wait Wait Don't Tell Me! Stats Page. Contribute to questionlp/stats.wwdt.me development by creating an account on GitHub.

GitHub

If you know, you know...

Both the / and /teapot routes return the same with sending an HTTP BREW request with the appropriate Content-Type.

A normal GET to /teapot will give you a nice little message.

The little easter egg message and not sending the correct Content-Type to / or /teapot with the BREW request type both incude a little nod to a certain something from #StarTrekDS9 😂

https://stats.wwdt.me/teapot

@mdn

#RFC2324

#TIL that the (in)famous “418 I'm a teapot” status code was never intended for HTTP, but only for Hyper Text Coffee Pot Control Protocol (which aimed to humorously illustrate how HTTP is being abused). So the majority of libraries include this status code by mistake and getting rid of it would be a breaking change… https://www.rfc-editor.org/rfc/rfc9110.html#name-418-unused
#HTTP #HTCPCP #HTTP418 #RFC2324
#RFC2324 is turning 25 in three weeks - how are you celebrating?!
Security considerations of #RfC2324, the "Hyper Text Coffee Pot Control Protocol"
@boerzel and rightly so according to #RFC2324
Puh, am Wochenende ist mir bei einem Raspi-Firmware-Update Madame Pottine um die Ohren geflogen, aber nun lebt pottine.com zum Glück wieder. #RFC2324
@ashgan Bah il faudrait adapter HTCPCP #RFC2324 🤔