Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

HTTP headers, media-types, methods, relations and status codes, all summarized and linking to their specification.

License

NotificationsYou must be signed in to change notification settings

for-GET/know-your-http-well

Repository files navigation

HTTP encodings, headers, media types, methods, relations and status codes, all summarized and linking to their specification.

This project is used byHyperREST bin atbin.hyperrest.com .

Table of Contents

How to convert to other formats

Packages

Emacs

(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

JavaScript

varhttpWell=require('know-your-http-well'),statusWell=httpWell.statusPhrasesToCodes,phraseWell=httpWell.statusCodesToPhrases;// on the server sideres.statusCode=statusWell.NOT_FOUND// on the client sideif(res.statusCode!==statusWell.OK){// Log "Request returned 404 Not Found"log('Request returned '+res.statusCode+' '+phraseWell[res.statusCode]);}

JSON

Just take a look at./json/*.json.

References

License

Unlicense.

Stargazers over time

Stargazers over time

About

HTTP headers, media-types, methods, relations and status codes, all summarized and linking to their specification.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp