Commit Graph

60 Commits

Author SHA1 Message Date
zoidbergwill
3ee553d788 Add Rust HTTP constants
In case I need to do this again.

I created a file of status code to constant names, then ran this script
against it:

IFS=$'\n';
for i in $(cat rust-consts.txt); do
  code="$(echo $i | awk '{print $1}')"
  const="http::StatusCode::$(echo $i | awk '{print $2}')"
  fastmod "(references:)(\n)" "\${1}\${2}    \"Rust HTTP Status Constant\": \"${const}\"\${2}" "contents/codes/${code}.md"
done

The hightlight is the grossness for the fastmod invocation, since I
couldn't figure out how to get fastmod to add newlines in the
replacement text, so I captured and reused the one from the searched
patterns.
2021-01-27 14:16:18 +01:00
WALL-E
62df9e637c Add Python status constants (#57)
* Add Python status constants

* Add Python 2, Python 3+, Python 3.5+ status constants
2016-05-22 00:07:16 +01:00
Samuel Ryan
984463667e Adds Share buttons for Twitter, GitHub and Pinboard (#56)
closes #44
2016-04-28 00:01:37 +01:00
Samuel Ryan
f26eeb43c6 Adds Runscope sponsorship banner (#54)
* Adds Runscope sponsorship banner
2016-04-27 21:51:17 +01:00
Samuel Ryan
d8a693bf27 Remove markdown line limit (#52)
* Removes line length limit from Status Code Markdown

This will make the data easier to use when we develop the API, it needs
to be consistent, arbitrary new lines (especially in text format) will
be a major issue, so some sort of workaround would have to be
implemented, easier to simply fix the source files.

* Removes line length limit from misc. Markdown files
2016-04-23 01:12:07 +01:00
Samuel Ryan
940cfac548 Removes bower dependency (#49) 2016-04-20 01:21:24 +01:00
Samuel Ryan
7f4c0c8e41 Updates title of 444 2016-04-19 16:08:03 +01:00
Selivanov Pavel
cdc3d4824e Added non-standard 444 code for nginx (#43)
* Added non-standard 444 code for nginx

* More explicit about client never seeing this code.

* Fixed typo
2016-04-19 16:03:40 +01:00
ismail BASKIN
b08be33ec2 Add Symfony HTTP Status Constant references (#48) 2016-04-19 14:19:17 +01:00
Samuel Ryan
e61147e63b Removes 418 Rails HTTP Status Symbol
See #42
2016-04-11 17:09:02 +01:00
Samuel Ryan
8cda8bf53d Updates 451 to link to RFC instead of Draft 2016-03-18 13:49:00 +00:00
Samuel Ryan
ec57e49dfe Fixes typo on 404 page
I'm convinced this has been fixed at least twice before.
2016-02-22 00:34:42 +00:00
Igor Dubinskiy
a60929f987 Add Go status constants 2016-01-27 14:08:33 -08:00
Samuel Ryan
db4119d9ea Hosts fonts locally
closes #34
2015-11-12 16:05:20 +00:00
Samuel Ryan
6c626ee46a Fixes indentation in HTML examples 2015-11-09 19:01:11 +00:00
Samuel Ryan
0bc8dd501b Fixes indentation of example response HTML 2015-11-09 18:49:37 +00:00
Samuel Ryan
084b3322fe Scrolls code examples instead of word-wrapping them 2015-11-09 18:48:29 +00:00
Samuel Ryan
ddf77f6f07 Adds proposed status code 451 Unavailable For Legal Reasons 2015-11-09 18:41:25 +00:00
Samuel Ryan
f5df4b96b0 Standardises referencing label format
“RFCxxx Section x.x” rather than “Section x.x of RFCxxx”.
2015-11-09 18:23:21 +00:00
Samuel Ryan
e4a30797a8 Increases spacing on class headings 2015-11-09 03:18:29 +00:00
Samuel Ryan
11ba4aada3 Fixes incorrect reference link 2015-11-09 02:06:25 +00:00
Samuel Ryan
6aebb87737 Improves 5xx status codes with referencing 2015-11-09 01:54:09 +00:00
Samuel Ryan
bc29ec9c5c Improves 4xx class status codes with referencing 2015-11-09 01:44:05 +00:00
Samuel Ryan
af7257eea0 Improves 3xx class status codes with references 2015-11-09 01:06:31 +00:00
Samuel Ryan
196d9c67ce Improves 2xx class of status codes with references 2015-11-09 00:28:54 +00:00
Samuel Ryan
035ca67ac3 Distinguishes nested lists by style type 2015-11-08 23:47:26 +00:00
Samuel Ryan
e3f4f60194 Adds pretty pink link hover colour 2015-11-08 23:41:39 +00:00
Samuel Ryan
e0c7e68db2 Styles lists used in status code descriptions 2015-11-08 23:37:49 +00:00
Samuel Ryan
a2b46df2a5 Improves 1xx class of status codes with references 2015-11-08 22:48:01 +00:00
Samuel Ryan
a51c62223f Adds styling for footnote references 2015-11-08 22:11:13 +00:00
Samuel Ryan
d4f2b4ddcf Renames project from "httpstatus.es" to "httpstatuses" with the domain "httpstatuses.com" 2015-11-08 00:13:13 +00:00
Samuel Ryan
06fd7ce8b1 Emphasises opening paragraph and separates from further information with border 2015-11-07 14:55:32 +00:00
Samuel Ryan
9213cbfeca colours links pink instead of grey 2015-11-07 05:56:44 +00:00
Samuel Ryan
fee183c7f3 Gives 5xx simple opening paragraphs 2015-11-07 05:48:31 +00:00
Samuel Ryan
0bc4c7f008 Gives 4xx codes simple opening paragraphs 2015-11-07 05:45:46 +00:00
Samuel Ryan
c53a008633 Gives 3xx codes simple opening paragraphs 2015-11-07 05:34:45 +00:00
Samuel Ryan
b54c157c1c Gives 2xx codes simple opening paragraphs 2015-11-07 05:31:20 +00:00
Samuel Ryan
265083fb14 Gives 1xx codes simple opening paragraphs 2015-11-07 05:24:24 +00:00
Samuel Ryan
e98a21f7bd Emphasise the first paragraph on a codes page, as the "simple" introduction to the code 2015-11-07 05:24:05 +00:00
Samuel Ryan
8104649daf Adds 5xx class status codes with descriptions from latest standards 2015-11-07 05:05:36 +00:00
Samuel Ryan
bdccf26e4c Fixes syntax error in 202 properties 2015-11-07 05:01:00 +00:00
Samuel Ryan
689f94a4bb Adds 4xx Client Error class status codes descriptions from latest standards 2015-11-07 04:34:40 +00:00
Samuel Ryan
aed3e7179d word-wraps code tags to prevent scrolling 2015-11-07 04:34:05 +00:00
Samuel Ryan
62dd681756 Fixed 3xx code source reference numbering 2015-11-07 03:04:37 +00:00
Samuel Ryan
63a1095be6 fixed 2xx code source reference numbering 2015-11-07 03:03:35 +00:00
Samuel Ryan
6b66663d04 fixes 1xx code source reference numbering
For the sake of consistency and future proofing (there may be a
scenario in future where we need to access the source URL for each
status code programmatically) it makes sense to have them consistently
numbered. The source document will always be reference link ID 1.
2015-11-07 02:59:14 +00:00
Samuel Ryan
ed94ac1966 Adds 3xx Redirection class status code descriptions from the latest standards 2015-11-07 02:57:14 +00:00
Samuel Ryan
5c9aa2e2e8 Adds 2xx Success class codes using latest descriptions from standards 2015-11-07 01:41:41 +00:00
Samuel Ryan
ebc0fb8a8a Removes erroneous brackets from 101 2015-11-07 00:42:48 +00:00
Samuel Ryan
3d8dbc42af Adds Rails HTTP Status Symbols to 1xx Informational codes 2015-11-07 00:41:41 +00:00