{"id":13571178,"url":"https://github.com/for-GET/know-your-http-well","last_synced_at":"2025-04-04T07:33:06.582Z","repository":{"id":8062201,"uuid":"9474098","full_name":"for-GET/know-your-http-well","owner":"for-GET","description":"HTTP headers, media-types, methods, relations and status codes, all summarized and linking to their specification.","archived":false,"fork":false,"pushed_at":"2024-07-26T17:07:31.000Z","size":15991,"stargazers_count":2408,"open_issues_count":7,"forks_count":158,"subscribers_count":72,"default_branch":"master","last_synced_at":"2025-04-03T14:08:18.619Z","etag":null,"topics":["emacs","http","http-header","http-method","http-status-code","json"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/for-GET.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-04-16T14:15:38.000Z","updated_at":"2025-03-29T21:54:23.000Z","dependencies_parsed_at":"2024-01-07T18:09:42.727Z","dependency_job_id":"659e0d04-ce85-46da-ad56-d57f27848095","html_url":"https://github.com/for-GET/know-your-http-well","commit_stats":{"total_commits":153,"total_committers":7,"mean_commits":"21.857142857142858","dds":0.2941176470588235,"last_synced_commit":"3cc5ab6d2764ab7aacb1b6e026abaccbeb6c37f2"},"previous_names":["andreineculau/know-your-http-well"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/for-GET%2Fknow-your-http-well","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/for-GET%2Fknow-your-http-well/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/for-GET%2Fknow-your-http-well/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/for-GET%2Fknow-your-http-well/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/for-GET","download_url":"https://codeload.github.com/for-GET/know-your-http-well/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247139684,"owners_count":20890277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emacs","http","http-header","http-method","http-status-code","json"],"created_at":"2024-08-01T14:00:59.600Z","updated_at":"2025-04-04T07:33:06.547Z","avatar_url":"https://github.com/for-GET.png","language":"Emacs Lisp","funding_links":[],"categories":["HTTP 101","Emacs Lisp"],"sub_categories":[],"readme":"# KNOW YOUR HTTP * WELL\n\nHTTP encodings, headers, media types, methods, relations and status codes, all summarized and linking to their specification.\n\nThis project is used by [HyperREST bin](https://github.com/andreineculau/hyperrest-bin) at [bin.hyperrest.com](http://bin.hyperrest.com) .\n\n\n## Table of Contents\n\n- [SPECS](specs.md)\n- [ENCODINGS](encodings.md)\n- [HEADERS](headers.md)\n- MEDIA TYPES\n- [METHODS](methods.md)\n- [RELATIONS](relations.md)\n- [STATUS CODES](status-codes.md)\n\n\n## How to convert to other formats\n\n* [pandoc](http://johnmacfarlane.net/pandoc/)\n* [Marked](http://markedapp.com/)\n* ...\n\n\n## Packages\n\n### Emacs\n\n```emacs\n(require 'know-your-http-well)\n;; M-x http-header ;; content-type\n;; M-x http-method ;; post | POST\n;; M-x http-relation ;; describedby\n;; M-x http-status-code ;; 500\n;; M-x http-status-code ;; not_found | NOT_FOUND\n```\n\n### JavaScript\n\n```javascript\nvar httpWell = require('know-your-http-well'),\n    statusWell = httpWell.statusPhrasesToCodes,\n    phraseWell = httpWell.statusCodesToPhrases;\n\n// on the server side\nres.statusCode = statusWell.NOT_FOUND\n\n// on the client side\nif (res.statusCode !== statusWell.OK) {\n    // Log \"Request returned 404 Not Found\"\n    log('Request returned ' + res.statusCode + ' ' + phraseWell[res.statusCode]);\n}\n```\n\n### JSON\n\nJust take a look at [./json/*.json](json).\n\n## References\n\n* https://github.com/dret/webconcepts\n* [DanaDanger on twitter.com](https://twitter.com/DanaDanger/status/183316183494311936): `HTTP response codes for dummies. 50x: we fucked up. 40x: you fucked up. 30x: ask that dude over there. 20x: cool.`\n* [Steve Losh on twitter.com](https://x.com/stevelosh/status/372740571749572610?lang=en) : `HTTP status ranges in a nutshell: 1xx: hold on. 2xx: here you go. 3xx: go away. 4xx: you fucked up. 5xx: I fucked up`\n\n## License\n\n[Unlicense](LICENSE).\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/for-GET/know-your-http-well.svg)](https://starchart.cc/for-GET/know-your-http-well)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffor-GET%2Fknow-your-http-well","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffor-GET%2Fknow-your-http-well","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffor-GET%2Fknow-your-http-well/lists"}