Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Explains the meaning of an HTTP status code in minibuffer
Emacs Lisp
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.rst
httpcode.el

README.rst

 _   _ _____ _____ ____   ____ ___  ____  _____   _____ _
| | | |_   _|_   _|  _ \ / ___/ _ \|  _ \| ____| | ____| |
| |_| | | |   | | | |_) | |  | | | | | | |  _|   |  _| | |
|  _  | | |   | | |  __/| |__| |_| | |_| | |___ _| |___| |___
|_| |_| |_|   |_| |_|    \____\___/|____/|_____(_)_____|_____|

httpcode.el provides a simple command hc that explains the meaning of an HTTP status code in minibuffer.

Installation

Copy httpcode.el to your load-path and add to your .emacs:

(require 'httpcode)

Alternately use Marmalade:

M-x package-install httpcode

Then run the command with M-x hc

Usage

M-x hc RET Enter HTTP code: 418 RET

Status code 418
Message: I'm a teapot
Code explanation: The HTCPCP server is a teapot

Command line alternative

http://github.com/rspivak/httpcode

Something went wrong with that request. Please try again.