<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>ProxyMesh Blog - connect</title><link href="https://proxymesh.com/posts/" rel="alternate"/><link href="https://proxymesh.com/posts/feeds/tag-connect.atom.xml" rel="self"/><id>https://proxymesh.com/posts/</id><updated>2026-11-12T00:00:00+00:00</updated><subtitle>Features, open-source releases, proxy and scraping news from ProxyMesh.</subtitle><entry><title>HTTP/2 downloads and uploads through ProxyMesh</title><link href="https://proxymesh.com/posts/http2-downloads-through-proxymesh/" rel="alternate"/><published>2026-11-12T00:00:00+00:00</published><updated>2026-11-12T00:00:00+00:00</updated><author><name>ProxyMesh</name></author><id>tag:proxymesh.com,2026-11-12:/posts/http2-downloads-through-proxymesh/</id><summary type="html">&lt;p&gt;Large HTTPS downloads and uploads from HTTP/2 clients are fast and reliable on every ProxyMesh proxy server.&lt;/p&gt;</summary><content type="html">&lt;p&gt;Large HTTPS downloads and uploads from HTTP/2 clients are fast and reliable
on every ProxyMesh proxy server. If your scraper, crawler, or browser talks
HTTP/2 to the sites it visits through ProxyMesh,
there is nothing to change in your configuration or your account.&lt;/p&gt;
&lt;h2 id="try-it-with-curl"&gt;Try it with curl&lt;/h2&gt;
&lt;p&gt;These two examples show how to ask for HTTP/2. They're just examples: any
HTTP/2 client or library works the same way through the proxy. Give it your
ProxyMesh proxy URL and make HTTPS requests as usual.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;curl&lt;span class="w"&gt; &lt;/span&gt;--http2&lt;span class="w"&gt; &lt;/span&gt;-x&lt;span class="w"&gt; &lt;/span&gt;http://USERNAME:PASSWORD@PROXY_HOST:PORT&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="w"&gt;  &lt;/span&gt;-s&lt;span class="w"&gt; &lt;/span&gt;-o&lt;span class="w"&gt; &lt;/span&gt;/dev/null&lt;span class="w"&gt; &lt;/span&gt;-w&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;%{http_version}\n&amp;#39;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;https://www.example.com/
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This prints &lt;code&gt;2&lt;/code&gt; when the site agrees to HTTP/2.&lt;/p&gt;
&lt;h2 id="the-same-request-with-httpx"&gt;The same request with httpx&lt;/h2&gt;
&lt;p&gt;httpx needs the HTTP/2 extra (&lt;code&gt;pip install "httpx[http2]"&lt;/code&gt;) and &lt;code&gt;http2=True&lt;/code&gt;
on the client. The proxy URL goes in &lt;code&gt;proxy&lt;/code&gt;, as with any other request.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nn"&gt;httpx&lt;/span&gt;

&lt;span class="n"&gt;proxy&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;http://USERNAME:PASSWORD@PROXY_HOST:PORT&amp;quot;&lt;/span&gt;
&lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;httpx&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Client&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;http2&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;proxy&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;proxy&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;&amp;quot;https://www.example.com/&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nb"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;http_version&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This prints &lt;code&gt;HTTP/2&lt;/code&gt; when the site agrees to HTTP/2.&lt;/p&gt;
&lt;p&gt;For more documentation, see
&lt;a href="https://docs.proxymesh.com/article/131-curl-configuration-for-the-proxy"&gt;cURL configuration for the proxy&lt;/a&gt;
and
&lt;a href="https://docs.proxymesh.com/article/145-proxy-server-requests-over-https"&gt;Proxy server requests over HTTPS&lt;/a&gt;.&lt;/p&gt;</content><category term="Features"/><category term="http2"/><category term="https"/><category term="connect"/></entry></feed>