HTTP headers, media-types, methods, relations and status codes, all summarized and linking to their specification.
HTTP headers, media types, methods, relations and status codes, all summarized and linking to their specification.
(require 'know-your-http-well);; M-x http-header ;; content-type;; M-x http-method ;; post | POST;; M-x http-relation ;; describedby;; M-x http-status-code ;; 500;; M-x http-status-code ;; not_found | NOT_FOUND
var httpWell = require'know-your-http-well'statusWell = httpWellstatusPhrasesToCodesphraseWell = httpWellstatusCodesToPhrases;// on the server sideresstatusCode = statusWellNOT_FOUND// on the client sideif resstatusCode !== statusWellOK// Log "Request returned 404 Not Found"log'Request returned ' + resstatusCode + ' ' + phraseWellresstatusCode;
Just take a look at ./json/*.json.
If you want know-your-http-well to be included in the common list of docsets, just tweet to @kapeli for a +1.
Preferences -> Docsets -> + and using https://raw.github.com/for-GET/know-your-http-well/master/docset/know-your-http-well.xml should do it.