How do you inspect HTTP request and response headers?
Use curl verbose output or save response headers separately to inspect redirects, content types, cache headers, and server behavior.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 2329–2340 of 3610 questions
Use curl verbose output or save response headers separately to inspect redirects, content types, cache headers, and server behavior.
Inspect the certificate chain, expiry, hostname, SNI selection, trust store, and system time.
Persistent connections reduce repeated TCP and TLS setup costs. Clients and servers still enforce pool and idle-time limits.
TCP usually establishes a connection with SYN, SYN-ACK, and ACK before application data is exchanged.
TCP retransmits data when acknowledgements do not arrive as expected. Loss, congestion, and path problems can increase retransmissions.
MTU is the maximum packet size for a link; path MTU discovery helps avoid packets too large for an end-to-end path.
NAT rewrites addresses or ports as traffic passes through a gateway; it affects inbound reachability, connection tracking, and source identity.
Ephemeral ports are temporary source ports for outgoing connections. High connection churn can exhaust local port or tracking capacity.
Check the bind address, route, host/cloud firewall, container port publishing, and network path. Test loopback and host IP separately.
Test the resolved IP and port, then inspect routing, firewall rules, TCP, TLS, and HTTP behavior.
A refusal often means no listener exists on that address/port or an intermediary actively rejected the connection.
A timeout may result from dropped packets, route failure, an overloaded endpoint, or an overly short deadline. Gather evidence at both ends.