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. The Lounge
  3. I'm a teapot

I'm a teapot

Scheduled Pinned Locked Moved The Lounge
python
22 Posts 16 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.
  • Richard DeemingR Richard Deeming

    Pfffft! Call me when it finally implements RFC1149 - or preferably RFC2549. :-D


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

    D Offline
    D Offline
    Daniel Pfeffer
    wrote on last edited by
    #7

    That's Level 1 of the OSI levels. HTTP is what, level 4?

    Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

    T 1 Reply Last reply
    0
    • D Daniel Pfeffer

      That's Level 1 of the OSI levels. HTTP is what, level 4?

      Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

      T Offline
      T Offline
      trønderen
      wrote on last edited by
      #8

      Certainly more like Presentation (6) or Application (7). The encoding - the specific use of angle brackets, character entities and that sort of stuff - is a Presentation issue. That is how to represent an abstract information structure that might equally be represented in other ways (such as a DOM tree). The syntax and semantics of that abstract part of HTML belongs in Application. Even though many people (usually with rather shallow knowledge of the OSI model - but that covers 95+ % of all software developers today) try to place various elements of IP based protocols into one single OSI layer, it usually can't be done properly, as seen from an ISO model point of view. In plain words: IP protocols are a mess in regard to clean layering.

      Richard Andrew x64R C 2 Replies Last reply
      0
      • Richard DeemingR Richard Deeming

        Pfffft! Call me when it finally implements RFC1149 - or preferably RFC2549. :-D


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

        T Offline
        T Offline
        trønderen
        wrote on last edited by
        #9

        Note that RFC 1149 was implemented twenty years ago. See Bergen Linux User Group[^]

        1 Reply Last reply
        0
        • T trønderen

          Certainly more like Presentation (6) or Application (7). The encoding - the specific use of angle brackets, character entities and that sort of stuff - is a Presentation issue. That is how to represent an abstract information structure that might equally be represented in other ways (such as a DOM tree). The syntax and semantics of that abstract part of HTML belongs in Application. Even though many people (usually with rather shallow knowledge of the OSI model - but that covers 95+ % of all software developers today) try to place various elements of IP based protocols into one single OSI layer, it usually can't be done properly, as seen from an ISO model point of view. In plain words: IP protocols are a mess in regard to clean layering.

          Richard Andrew x64R Offline
          Richard Andrew x64R Offline
          Richard Andrew x64
          wrote on last edited by
          #10

          Which do you mean, OSI or ISO?

          The difficult we do right away... ...the impossible takes slightly longer.

          Greg UtasG T 2 Replies Last reply
          0
          • Richard Andrew x64R Richard Andrew x64

            Which do you mean, OSI or ISO?

            The difficult we do right away... ...the impossible takes slightly longer.

            Greg UtasG Offline
            Greg UtasG Offline
            Greg Utas
            wrote on last edited by
            #11

            I'm fairly sure he means the OSI model[^].

            Robust Services Core | Software Techniques for Lemmings | Articles
            The fox knows many things, but the hedgehog knows one big thing.

            <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
            <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

            1 Reply Last reply
            0
            • Richard Andrew x64R Richard Andrew x64

              Which do you mean, OSI or ISO?

              The difficult we do right away... ...the impossible takes slightly longer.

              T Offline
              T Offline
              trønderen
              wrote on last edited by
              #12

              OSI is a standard family from ISO (in cooperation with ITU-T), so I guess the answer is: Both.

              1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                Pfffft! Call me when it finally implements RFC1149 - or preferably RFC2549. :-D


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

                G Offline
                G Offline
                Gary R Wheeler
                wrote on last edited by
                #13

                Linketies: rfc1149[^] and rfc2549[^]

                Software Zen: delete this;

                1 Reply Last reply
                0
                • C Chris Maunder

                  I'm happy to announce that the http module in Python 3.9 [now includes](https://bugs.python.org/issue39507) the HTTP 418 "I'm a Teapot" code. For those wondering what I'm talking about, see [RFC 7168: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)](https://www.rfc-editor.org/rfc/rfc7168#section-2.3.3)

                  Quote:

                  2.3.3. 418 I'm a Teapot TEA-capable pots that are not provisioned to brew coffee may return either a status code of 503, indicating temporary unavailability of coffee, or a code of 418 as defined in the base HTCPCP specification to denote a more permanent indication that the pot is a teapot.

                  Yeah, it's going to be one of those weeks.

                  cheers Chris Maunder

                  G Offline
                  G Offline
                  Gary R Wheeler
                  wrote on last edited by
                  #14

                  I got all excited. I thought you were talking about a container for the Tiny Encryption Algorithm (TEA)[^], which I've used a number of times.

                  Software Zen: delete this;

                  1 Reply Last reply
                  0
                  • T trønderen

                    Certainly more like Presentation (6) or Application (7). The encoding - the specific use of angle brackets, character entities and that sort of stuff - is a Presentation issue. That is how to represent an abstract information structure that might equally be represented in other ways (such as a DOM tree). The syntax and semantics of that abstract part of HTML belongs in Application. Even though many people (usually with rather shallow knowledge of the OSI model - but that covers 95+ % of all software developers today) try to place various elements of IP based protocols into one single OSI layer, it usually can't be done properly, as seen from an ISO model point of view. In plain words: IP protocols are a mess in regard to clean layering.

                    C Offline
                    C Offline
                    Cpichols
                    wrote on last edited by
                    #15

                    Having been out of the developer world through the era when HTCPC was created, I am made very curious: was this created to illustrate the OSI model? Thanks for the lessons; I've always believed that shared development relied entirely on communication of purpose and methods. There is nothing so satisfyingly helpful as a well-made requirements doc.

                    T 1 Reply Last reply
                    0
                    • C Cpichols

                      Having been out of the developer world through the era when HTCPC was created, I am made very curious: was this created to illustrate the OSI model? Thanks for the lessons; I've always believed that shared development relied entirely on communication of purpose and methods. There is nothing so satisfyingly helpful as a well-made requirements doc.

                      T Offline
                      T Offline
                      trønderen
                      wrote on last edited by
                      #16

                      I'm afraid that you can forget any hope of learning anything from OSI. It was thrown away, all its qualities were ditched. OSI is just for old time dreamers fantasising about how the world could have been. If the world wasn't different, of course ...

                      C 1 Reply Last reply
                      0
                      • C Chris Maunder

                        I'm happy to announce that the http module in Python 3.9 [now includes](https://bugs.python.org/issue39507) the HTTP 418 "I'm a Teapot" code. For those wondering what I'm talking about, see [RFC 7168: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)](https://www.rfc-editor.org/rfc/rfc7168#section-2.3.3)

                        Quote:

                        2.3.3. 418 I'm a Teapot TEA-capable pots that are not provisioned to brew coffee may return either a status code of 503, indicating temporary unavailability of coffee, or a code of 418 as defined in the base HTCPCP specification to denote a more permanent indication that the pot is a teapot.

                        Yeah, it's going to be one of those weeks.

                        cheers Chris Maunder

                        S Offline
                        S Offline
                        Stuart Dootson
                        wrote on last edited by
                        #17

                        Reminds me of one of the clauses from [RFC1122 (Requirements for Internet Hosts - Communication Layers)](https://datatracker.ietf.org/doc/html/rfc1122) - that said software should be "Able to leap tall buildings at a single bound". We found that when it was copied verbatim into an early draft of requirements for avionics compatible Ethernet (including UDP, TCP and IP layers)... Needless to say, it was swiftly removed! PS - I hope you're [*this* teapot](https://en.wikipedia.org/wiki/Utah\_teapot)...

                        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                        1 Reply Last reply
                        0
                        • T trønderen

                          I'm afraid that you can forget any hope of learning anything from OSI. It was thrown away, all its qualities were ditched. OSI is just for old time dreamers fantasising about how the world could have been. If the world wasn't different, of course ...

                          C Offline
                          C Offline
                          Cpichols
                          wrote on last edited by
                          #18

                          How sad.

                          1 Reply Last reply
                          0
                          • C Chris Maunder

                            I'm happy to announce that the http module in Python 3.9 [now includes](https://bugs.python.org/issue39507) the HTTP 418 "I'm a Teapot" code. For those wondering what I'm talking about, see [RFC 7168: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)](https://www.rfc-editor.org/rfc/rfc7168#section-2.3.3)

                            Quote:

                            2.3.3. 418 I'm a Teapot TEA-capable pots that are not provisioned to brew coffee may return either a status code of 503, indicating temporary unavailability of coffee, or a code of 418 as defined in the base HTCPCP specification to denote a more permanent indication that the pot is a teapot.

                            Yeah, it's going to be one of those weeks.

                            cheers Chris Maunder

                            S Offline
                            S Offline
                            Steve Naidamast
                            wrote on last edited by
                            #19

                            I don't care... I get my coffee every morning at a local eatery... :)

                            Steve Naidamast Sr. Software Engineer Black Falcon Software, Inc. blackfalconsoftware@outlook.com

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              I'm happy to announce that the http module in Python 3.9 [now includes](https://bugs.python.org/issue39507) the HTTP 418 "I'm a Teapot" code. For those wondering what I'm talking about, see [RFC 7168: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)](https://www.rfc-editor.org/rfc/rfc7168#section-2.3.3)

                              Quote:

                              2.3.3. 418 I'm a Teapot TEA-capable pots that are not provisioned to brew coffee may return either a status code of 503, indicating temporary unavailability of coffee, or a code of 418 as defined in the base HTCPCP specification to denote a more permanent indication that the pot is a teapot.

                              Yeah, it's going to be one of those weeks.

                              cheers Chris Maunder

                              B Offline
                              B Offline
                              BDieser
                              wrote on last edited by
                              #20

                              This is steeped in controversy.

                              C 1 Reply Last reply
                              0
                              • B BDieser

                                This is steeped in controversy.

                                C Offline
                                C Offline
                                Chris Maunder
                                wrote on last edited by
                                #21

                                This message was caught by the spam filter and I won't lie when I say I took my time hitting the "let this one through" button ;)

                                cheers Chris Maunder

                                1 Reply Last reply
                                0
                                • Richard DeemingR Richard Deeming

                                  Pfffft! Call me when it finally implements RFC1149 - or preferably RFC2549. :-D


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

                                  E Offline
                                  E Offline
                                  enhzflep
                                  wrote on last edited by
                                  #22

                                  :-D Hahaha. Thought that's what RFC1149 was. Didn't realize the two of them were related. Fun :thumbsup:

                                  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