Skip to content

Instantly share code, notes, and snippets.

@fabriciocolombo
fabriciocolombo / responsiveTable.js
Created January 5, 2018 10:21 — forked from jasonphillips/responsiveTable.js
React table elements with automatic pivoting to list-style view for mobile
import React from 'react';
/* context helpers from:
* https://gist.github.com/ryanflorence/1e1290571337ebcea1c5a748e8f5b37d
*/
import provideContext from './provideContext';
import withContext from './withContext';
const contextShape = React.PropTypes.shape({
@fabriciocolombo
fabriciocolombo / http_codes_family.md
Created September 26, 2012 11:51 — forked from rponte/http_codes_family.md
HTTP codes, we are family

HTTP codes, we are family

Above we have looked at just a few of the available HTTP codes; there are many others. Some are very well-known, such as 404 Not Found, but others are quite obscure and don't crop up very often. Whatever the case, the first digit is always an indication of the family of codes they belong to:

  • 1xx (Informational): Request received, continuing process.
  • 2xx (Successful): The action was successfully received, understood, and accepted.
  • 3xx (Redirection): Further action needs to be taken in order to complete the request.
  • 4xx (Client Error): The request contains bad syntax or cannot be fulfilled.
  • 5xx (Server Error): The server failed to fulfil an apparently valid request.