LeaYeh / webserver

MIT License
4 stars 1 forks source link

[RESEARCH] HTTP Protocol study list #37

Closed LeaYeh closed 1 week ago

LeaYeh commented 3 months ago
LeaYeh commented 3 months ago

The HTTP/1.1 standard is defined by a series of core documents, typically published as RFCs (Request for Comments). Here is a list of the core documents that define the HTTP/1.1 standard:

LeaYeh commented 3 months ago

@yenthing https://datatracker.ietf.org/doc/html/rfc3986#section-3

the state machine of URI analyzation needs to follow the protocol.

LeaYeh commented 3 months ago

I feel like I need to read all of the documents because they are highly related....

yenthing commented 2 months ago

[7230] https://www.rfc-editor.org/rfc/pdfrfc/rfc7230.txt.pdf - Message Syntax and Routing

Chapter 1:

This HTTP/1.1 specification obsoletes RFC 2616 and RFC 2145.

Chapter 2: HTTP enables the use of intermediaries to satisfy requests through a

chain of connections. There are three common forms of HTTP intermediary: proxy, gateway, and tunnel. In some cases, a single intermediary might act as an origin server, proxy, gateway, or tunnel, switching behavior based on the nature of each request.

Screenshot from 2024-09-12 20-57-45

A request or response message that travels the whole chain will pass through four separate connections. Although the diagram is linear, each participant might be engaged in multiple, simultaneous communications. For example, B might be receiving requests from many clients other than A, and/or forwarding requests to servers other than C, at the same time that it is handling A’s request. Likewise, later requests might be sent through a different path of connections, often based on dynamic configuration for load balancing.

leske42 commented 1 week ago

Guys all of this is obsolete lol