GithubHelp home page GithubHelp logo

7xx-rfc's Introduction

RFC for 700 HTTP Status Codes

Barton                   Expires October 3, 2020                [Page 1]

Internet-Draft                7xxhttpcodes                    April 2018


Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Developer Errors  . . . . . . . . . . . . . . . . . . . . . .   2
     2.1.  Inexcusable . . . . . . . . . . . . . . . . . . . . . . .   2
     2.2.  Novelty Implementations . . . . . . . . . . . . . . . . .   3
     2.3.  Edge Cases  . . . . . . . . . . . . . . . . . . . . . . .   3
     2.4.  Fucking . . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.5.  Reserved for meritocracy related bullshit . . . . . . . .   3
     2.6.  Syntax Errors . . . . . . . . . . . . . . . . . . . . . .   3
     2.7.  Substance-Affected Developer  . . . . . . . . . . . . . .   4
     2.8.  Predictable Problems  . . . . . . . . . . . . . . . . . .   4
     2.9.  Somebody Else's Problem . . . . . . . . . . . . . . . . .   5
     2.10. Internet crashed  . . . . . . . . . . . . . . . . . . . .   5
   3.  Informative References  . . . . . . . . . . . . . . . . . . .   5
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . .   6
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   6

1.  Introduction

   Some words and stuff.  Reference to [RFC7231], looking to classify
   500 series as unknown unknowns, and the 700 series as known unknowns.

1.1.  Terminology

   The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,
   SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they appear in this
   document, are to be interpreted as described in [RFC2119].

2.  Developer Errors

2.1.  Inexcusable

   o  701 - Meh

   o  702 - Emacs

   o  703 - Explosion

   o  704 - Goto Fail

   o  705 - I wrote the code and missed the necessary validation by an
      oversight (see 795)

   o  706 - Delete Your Account

   o  707 - Can't quit vi

2.2.  Novelty Implementations

   o  710 - PHP

   o  711 - Convenience Store

   o  712 - NoSQL

   o  718 - I am not a teapot

   o  719 - Haskell

2.3.  Edge Cases

   o  720 - Unpossible

   o  721 - Known Unknowns

   o  722 - Unknown Unknowns

   o  723 - Tricky

   o  724 - This line should be unreachable

   o  725 - It works on my machine

   o  726 - It's a feature, not a bug

   o  727 - 32 bits is plenty

   o  728 - It works in my timezone

2.4.  Fucking

   o  730 - Fucking npm

   o  731 - Fucking Rubygems

   o  732 - Fucking Unic💩de

   o  733 - Fucking Deadlocks

   o  734 - Fucking Deferreds

   o  736 - Fucking Race Conditions

   o  735 - Fucking IE

   o  737 - FuckThreadsing

   o  738 - Fucking Exactly-once Delivery

   o  739 - Fucking Windows

   o  738 - Fucking Exactly-once Delivery

2.5.  Reserved for meritocracy related bullshit

   74x TBD.  Got the brains trust on the case.

2.6.  Syntax Errors

   o  750 - Didn't bother to compile it

   o  753 - Syntax Error

   o  754 - Too many semi-colons

   o  755 - Not enough semi-colons

   o  756 - Insufficiently polite

   o  757 - Excessively polite

   o  759 - Unexpected "T_PAAMAYIM_NEKUDOTAYIM"

2.7.  Substance-Affected Developer

   o  761 - Hungover

   o  762 - Stoned

   o  763 - Under-Caffeinated

   o  764 - Over-Caffeinated

   o  765 - Railscamp

   o  766 - Sober

   o  767 - Drunk

   o  768 - Accidentally Took Sleeping Pills Instead Of Migraine Pills
      During Crunch Week

2.8.  Predictable Problems

   o  771 - Cached for too long

   o  772 - Not cached long enough

   o  773 - Not cached at all

   o  774 - Why was this cached?

   o  775 - Out of cash

   o  776 - Error on the Exception

   o  777 - Coincidence

   o  778 - Off By One Error

   o  779 - Off By Too Many To Count Error

2.9.  Somebody Else's Problem

   o  780 - Project owner not responding

   o  781 - Operations

   o  782 - QA

   o  783 - It was a customer request, honestly

   o  784 - Management, obviously

   o  785 - TPS Cover Sheet not attached

   o  786 - Try it now

   o  787 - Further Funding Required

   o  788 - Designer's final designs weren't

   o  789 - Not my department

2.10.  Internet crashed

   o  791 - The Internet shut down due to copyright restrictions

   o  792 - Climate change driven catastrophic weather event

   o  793 - Zombie Apocalypse

   o  794 - Someone let PG near a REPL

   o  795 - #heartbleed (see 705)

   o  796 - Some DNS fuckery idno

   o  797 - This is the last page of the Internet.  Go back

   o  798 - I checked the db backups cupboard and the cupboard was bare

   o  799 - End of the world

3.  Informative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119,
              DOI 10.17487/RFC2119, March 1997,
              <https://www.rfc-editor.org/info/rfc2119>.

Appendix A.  Acknowledgements

   Railscamp crew, github contributors, etc

Author's Address

   J. R. Barton
   Railscamp

   Email: [email protected]

About

At Railscamp X it became clear there is a gap in the current HTTP specification.

There are many ways for a developer to screw up their implementation, but no code to share the nature of the error with the end user.

Building

Maintain RFC in 7xx.md

Relies on mmark to convert markdown to proper RFC format.

make

ยฉ John Barton 2012-17 CC Attribution-NonCommercial-ShareAlike 4.0 International

7xx-rfc's People

Contributors

andrewk avatar angusp avatar apokharel avatar aredridel avatar beryllium avatar chendo avatar christeredvartsen avatar chutsu avatar cody42 avatar dgoodlad avatar dougal avatar faceleg avatar fredwu avatar holek avatar idisposable avatar jimohalloran avatar joho avatar justinfrench avatar keibro avatar kwilczynski avatar leostera avatar matthiasr avatar michalmazurek avatar mipearson avatar ndidi avatar stendarr avatar tmilewski avatar vassilevsky avatar whump avatar xzyfer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

7xx-rfc's Issues

Are meme-based status codes needed?

Memes are changing way too fast (considering the big picture) and I don't think we should engrave them into any of the status codes. I believe that technological, management and culture-based (memeless) status codes are enough. Yes, I understand that this clashes with my proposal regarding f7u12 to reddit-based status codes, hence I retract it .)

Railscamp could be more general

It'd be cool if 765 Railscamp was something more general.

I was going to open a Pull Request, but 765 Developer Conference doesn't quite have the same ring.

Ideas?

More description

Hi guys, loved this repo!

I've create this github page based on this repo and I wanted to add the 7xx developer errors range on it. But in order to do that I need more description of each error code. I'll see what I can add to help.
What do you think?

Off-By-One

Clearly both 778 and 779 should be Off-By-One Error.

722 is duplicate

Hi,

For me it looks like 722 (722 - Unknown Unknowns) is duplicate of 500 error as you wrote

looking to classify 500 series as unknown unknowns

:)

73x "Fucking..." range too small

I feel 730..739 is too small a range to contain the number of technologies, methodologies and other things which people want to curse about (as illustrated by PR-35 and other PR's fighting over the range); I think the entire 8xx range should be dedicated to fucking. It's only fair.

If 730..739 become 800..809, I propose that 810 become 810 Fuck this, I'm going home.

Yes, I realise that extracting these out into 8xx wouldn't fit the name of this repo quite so well. To that, I'd say 811 Fuck it, I don't care. :)

Missing comma

745 - I don't always test my code, but when I do<!--Insert comma here--> I do it in production

This is not an official RFC

Steps to reproduce:

  1. Go to https://ietf.org
  2. Try to find this RFC
  3. Notice that it's not an official RFC

Expected behaviour:

This should be an official RFC.

What we can do to solve this:

  1. Format it according to the rules for RFC formatting, see https://tools.ietf.org/html/rfc6949.
  2. Submit it to IETF for publication next coming April 1st.

There may be some questions about how to list the authors in an effort such as this, but this is probably something we can figure out. This can go down in history as the first crowdsourced RFC.

Migrating services

I was hoping to leave a landing page with a "We are migrating" sort of error, but I guess I'll have to pick one in the 78x series.

I have a lot of sites whose domain expires before I actually "fix" them, so I was hoping to have something akin to "Just a minute, I'll fix it tomorrow, I promise" or "Waiting for database migration from the old server" and such things that'll probably rest there for months or years, instead of my current 503 default page.

Have you tried turning it off and on again?

There should be a status code for "Have you tried turning it off and on again?". The 74X range might be the natural home for such a code, but that range is full. Perhaps the 79X range.

Avoid technology-specific codes

731 and 765 seem overly technology specific. 702, 735 and 739 are also debatable although they are probably widespread enough to have entered the global consciousness.

And if technology-specific codes are to be included, PHP is most definitely missing.

735 Fucking IE

I believe this needs to be updated to say Fucking Safari. Safari is now such a shit hole many companies have knocked it out of being a supported.

missed PEBKAC as 786 status code

the Problem Exists Between Keyboard And Chair (PEBKAC) error code is missed, it's one of the most important code in the Somebody Else's Problem family :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.