Skip to content
Proyek

Tentang

Halaman man untuk kode status HTTP.

Sistem dan infrastruktur

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
-1
dalam 15 hari
-1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

statcode

statcode is like man but for HTTP status codes. If you're a web developer, you probably spend some time looking at response codes (usually errors) and then Googling what they mean. But with statcode, you can simply run $ statcode [status_code] and get a quick explanation of your HTTP response without leaving the terminal.

demo

Installation

Requires Python 3.0 or higher

statcode works on MacOS, Linux, and Windows (if you use Cygwin). You can install it with pip:

$ pip install statcode

Or if you're running Arch, you can install statcode from the AUR:

$ aurman -S statcode

Contributing

This is a pretty small project (something I put together on a plane ride), but with enough help it could turn into a go-to manual for everything HTTP-related. For example, it should be possible to look up different request headers, e.g. running $ statcode cache-control and getting "Specifies directives for caching mechanisms in both requests and responses." If you'd like to help make this happen, feel free to fork the repo and contribute.

If you've discovered a bug or have a feature request, create an issue and I'll take care of it!

Jelajahi proyek terkait

Memuat…