Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. I'm a teapot

I'm a teapot

Scheduled Pinned Locked Moved The Weird and The Wonderful
sysadmin
10 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nathan Minier
    wrote on last edited by
    #1

    So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.

    "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

    Richard DeemingR J G N M 5 Replies Last reply
    0
    • N Nathan Minier

      So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.

      "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Wikipedia has slightly more information:

      List of HTTP status codes - Wikipedia[^]:

      This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol[^], and is not expected to be implemented by actual HTTP servers.

      But with stories like this[^] getting more common, it can't be long until this is used in a real project. :laugh:


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      J 1 Reply Last reply
      0
      • N Nathan Minier

        So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.

        "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

        J Offline
        J Offline
        jgakenhe
        wrote on last edited by
        #3

        Interesting. We really do learn something new everyday. [^]Wikipedia says the 418 status code was meant to be an April fools joke.

        1 Reply Last reply
        0
        • N Nathan Minier

          So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.

          "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

          G Offline
          G Offline
          GuyThiebaut
          wrote on last edited by
          #4

          One of the teams where I work are called the 418's and they are named after this response.

          “That which can be asserted without evidence, can be dismissed without evidence.”

          ― Christopher Hitchens

          1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Wikipedia has slightly more information:

            List of HTTP status codes - Wikipedia[^]:

            This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol[^], and is not expected to be implemented by actual HTTP servers.

            But with stories like this[^] getting more common, it can't be long until this is used in a real project. :laugh:


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            J Offline
            J Offline
            Jochen Arndt
            wrote on last edited by
            #5

            There were attempts to remove that status code: net/http: remove support for status code 418 I'm a Teapot · Issue #21326 · golang/go · GitHub[^]. But the community resisted: Save Error Code 418[^] And the iniator of the removement accepted the resistance and requested a reservation: Reserving the 418 HTTP Status Code[^]

            N 1 Reply Last reply
            0
            • J Jochen Arndt

              There were attempts to remove that status code: net/http: remove support for status code 418 I'm a Teapot · Issue #21326 · golang/go · GitHub[^]. But the community resisted: Save Error Code 418[^] And the iniator of the removement accepted the resistance and requested a reservation: Reserving the 418 HTTP Status Code[^]

              N Offline
              N Offline
              Nagy Vilmos
              wrote on last edited by
              #6

              In other news, Mark Nottingham lives at home with Mom and his friends are like his sense of humour. Nonexistent.

              veni bibi saltavi

              1 Reply Last reply
              0
              • N Nathan Minier

                So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.

                "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                N Offline
                N Offline
                n0rthbridge
                wrote on last edited by
                #7

                Use Chrome's developer tools to view the HTTP status code returned when visiting google.com/teapot. [https://www.google.com/teapot]

                N 1 Reply Last reply
                0
                • N n0rthbridge

                  Use Chrome's developer tools to view the HTTP status code returned when visiting google.com/teapot. [https://www.google.com/teapot]

                  N Offline
                  N Offline
                  Nathan Minier
                  wrote on last edited by
                  #8

                  Love it! I also enjoy how every time you click the teapot, it triggers an analytics callback.

                  "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                  1 Reply Last reply
                  0
                  • N Nathan Minier

                    So, going through MDN's documented [HTTP response status codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) I ran into this nugget in the 400's: >418 I'm a teapot >The server refuses the attempt to brew coffee with a teapot. I can appreciate the sentiment.

                    "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #9

                    Hah! I should return this code to malicious/blacklisted IP's. :laugh:

                    Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                    N 1 Reply Last reply
                    0
                    • M Marc Clifton

                      Hah! I should return this code to malicious/blacklisted IP's. :laugh:

                      Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                      N Offline
                      N Offline
                      Nathan Minier
                      wrote on last edited by
                      #10

                      I've been thinking that it would be perfect for malformed user input.

                      "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups