Get the App
SLTechnology News&Howtos  ›  Network Security  › 

HTTP of TCP/IP

Shulou Source: shulou.com Published: 2022-06-01 03:32:28 10月03日 Update

HTTP:HyperText Transfer Protocol Hypertext transfer Protocol

Features: dumb service, non-stateless connectionless service

URL= protocol + host+ [port] + URI

HttpRequest:

Remove the first line (CRLF represents carriage return and line feeds) (firewalls can filter based on these fields)

Command:

Commonly used GET HEAD PUT POST

Common status code

200 OK / / client request succeeded

400 Bad Request / / client request has syntax error and cannot be understood by the server

401 Unauthorized / / request unauthorized, this status code must be used with the WWW-Authenticate header domain

403 Forbidden / / server received the request but refused to provide service

404 Not Found / / request resource does not exist. Eg: incorrect URL entered

Unexpected error occurred on 500 Internal Server Error / / server

503 Server Unavailable / / server is currently unable to process client requests and may return to normal after a period of time

Tags: Service server client status error code client success one line command field common common header time unpassed feature port end syntax Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Xiaomi Shulou Information Huawei