Internet and HTTP Fundamentals
-
Client and Server Roles in a Network Request
A client initiates a request under a protocol. A server receives compatible requests and supplies responses or another documented outcome.
-
Messages, Streams, and Network Packets
An application message has a meaning under its own format. A transport stream or a packet can represent only part of that exchange.
-
Local and Remote Hosts in a Connection
A program's connection endpoint is interpreted from the network context where it runs. Local and remote refer to the participating environments.
-
IP Addresses and Hostnames
An IP address identifies a network-layer endpoint under its addressing scheme. A hostname can have records that resolve to current addresses.
-
IP Addresses, Transport Ports, and Services
A transport port helps distinguish endpoints on a host under a transport protocol. Address, port, and protocol all affect the destination.
-
Reading a Small CIDR Prefix
A prefix length gives the number of leading address bits shared by addresses in that block.
-
A Local Link and the Next Hop
A host can send a packet directly toward a destination on its local link or send it to a router that can forward it farther.
-
Name Resolution and a Cached Answer
A resolver can reuse a previous name-resolution response according to its cache rules. Knowing which cache supplied it helps explain what address a client observes.
-
Latency and Transfer Rate
Latency measures elapsed time for an event or round trip. Transfer rate measures data delivered per unit time.
-
When a Missing Response Leaves the Result Unknown
Seeing no response does not establish whether a server received or acted on the request. Application-level confirmation needs a separate contract.
-
Choosing a Stream or Datagram Transport
A byte stream and a datagram service expose different boundaries and delivery guarantees to application code.
-
Packet Size, Payload, and Headers
A packet contains addressing or protocol information alongside data. The usable payload depends on the layers and their headers.
-
Byte Order in a Network Format
A multi-byte field's wire order supplies the same interpretation across hosts with different native storage layouts.
-
Receiving a Stream Record Across Several Reads
A stream reader may receive a partial header, a partial payload, or bytes from several logical records in one read.
-
Reading the Parts of an HTTP Request
An HTTP request identifies a method and target and can supply field metadata and content under the chosen protocol.
-
Reading the Parts of an HTTP Response
An HTTP response conveys status, field metadata, and sometimes content. Interpret the content under both the status and its representation metadata.
-
Intent and Effects of HTTP Methods
HTTP method semantics describe a request's intended effect, including properties that help clients decide how requests may be repeated.
-
Content Type and the Bytes in an HTTP Message
Content-Type describes the format of the associated representation. It helps a recipient choose how to interpret the bytes.
-
HTTP Fields as Request and Response Metadata
HTTP fields can describe a request's preferences, a representation's properties, or other protocol metadata. Their value rules depend on the individual field.
-
Reading HTTP Status Code Families
A status family provides a broad classification, while the specific response code conveys the outcome relevant to the request.
-
Host, Path, and Query in a URL
A URL includes components serving different roles. For an HTTP URL, the host helps select the service and the path and query identify the requested target in that service.
-
A Request and Reply as a Round Trip
A measured round trip includes the request's path to a peer and a related result's path back, under a stated measurement interface.
-
Reusing a Connection Between HTTP Exchanges
Several HTTP exchanges can share an underlying connection when protocol, peer, and implementation rules permit it.
-
Connection and Response Timeouts
Connecting to an endpoint and receiving an application response are separate stages. A client can assign different time budgets to them.
-
When a Response Can Be Reused from a Cache
A cache can reuse stored HTTP responses when its matching, freshness, and privacy rules allow it.
-
Who Owns Data After Sending It
A network write API can report acceptance by a local buffer, which is a different observation from application processing at the remote endpoint.
-
Documenting a Network Service Endpoint
A service endpoint contract should identify how to address an operation, which data it accepts, and which observable outcomes callers handle.
-
Verifying Which Service Answered an Ordinary Request
A response can arrive successfully from a different configured environment than the caller intended. Identify the endpoint and relevant version explicitly.
-
Transport Guarantees and Application Meaning
A transport can support ordering or reliable delivery of bytes. The application still decides whether those bytes form a valid request and when work completes.
-
Measuring Useful Data Delivered Over Time
Goodput describes useful application data successfully delivered per interval under a stated workload. Protocol overhead and retransmitted data can account for other traffic.