Skip to content

Instantly share code, notes, and snippets.

View ogbozoyan's full-sized avatar
🐳
haes aper?

ogbozoyan ogbozoyan

🐳
haes aper?
View GitHub Profile
@ogbozoyan
ogbozoyan / http_status_codes
Created November 15, 2022 10:06 — forked from ksavelev/http_status_codes
Explain HTTP status code on the command line
# based on https://github.com/rspivak/httpcode/blob/master/src/httpcode/__init__.py
# http://ruslanspivak.com/2011/12/21/httpcode-explain-http-status-code-on-the-command-line/
# just put it into your Powershell profile and use like $http_status_code[405]
$http_status_codes = @{
100 = @('<Continue>', 'Request received, please continue');
101 = @('<Switching Protocols>',
'Switching to new protocol; obey Upgrade header');
200 = @('<OK>', 'Request fulfilled, document follows');