Is 418 “I'm a teapot” really an HTTP response code?

后端 未结 5 1385
遥遥无期
遥遥无期 2020-12-23 02:47

Is 418 \"I\'m a teapot\" really an HTTP response code?

There are various references to this on the internet, including in lists of response codes, but I ca

5条回答
  •  借酒劲吻你
    2020-12-23 03:16

    I think it is safer to treat 418 as a reserved code that once had a half - official meaning but now officially "unassigned".

    I assume, historically something has been differently thought about these codes than it is now. This sounds meaningless and funny today; probably was not?

    In other words, I would avoid using this code.

提交回复
热议问题