Skip to content
GGleamInsight
Wiki

HTTP Proxy

An HTTP proxy handles HTTP requests on behalf of a client. It can forward requests and, if supported and permitted, establish CONNECT tunnels for traffic such as HTTPS.

Published 2 min readUpdated

Definition

An HTTP proxy handles HTTP requests on behalf of a client. It can forward requests and, if supported and permitted, establish CONNECT tunnels for traffic such as HTTPS.

Forwarding and tunneling

For forwarding, the client sends the request to the proxy and receives the response through it. For tunneling, the client first asks the proxy to establish a connection to a specified destination. After a successful CONNECT exchange, the proxy relays data in both directions. RFC 9110 defines these HTTP intermediary and tunnel semantics.

The two mechanisms explain why an HTTP proxy can be used to reach an HTTPS website. The client can conduct its TLS exchange with the destination through the tunnel; the proxy endpoint itself does not have to use the same URL scheme as the destination.

Read the proxy URL separately

Consider the illustrative pairing of an http://proxy.example:8080 proxy and an https://example.com destination. The first URL selects the proxy connection. The second selects the resource. HTTPX documents this distinction explicitly; changing the proxy scheme to https merely because the target is HTTPS can break an otherwise valid configuration.

The example hostname and port are explanatory values, not service credentials. Use the actual protocol and port assigned by your provider or network administrator.

Check supported behavior

Do not infer CONNECT support, permitted destination ports, caching, or authentication schemes from the label HTTP proxy alone. A proxy can restrict destinations, and a client must support the authentication challenge it receives.

When a request fails, distinguish a proxy authentication response from a target response or a client connection error. That distinction is more useful than assuming every failure means the exit address was blocked.

Sources

Sources checked on November 18, 2026. Examples are illustrative, not measurements of a live proxy service.

Frequently asked questions

Can an HTTP proxy access an HTTPS URL?

Yes, when the client and proxy support an allowed CONNECT tunnel. Destination TLS then runs through that tunnel.

Does an HTTP proxy necessarily cache pages?

No. Caching is a separate behavior and depends on implementation and cache rules.

Should the target website receive my proxy password?

No. Use the client’s proxy authentication mechanism, separate from destination authentication.