It took some searching, but I found something that states directly that Twisted doesn&#39;t support pipelining (<a href="http://www.dalkescientific.com/writings/diary/archive/2006/08/28/levels_of_abstraction.html">http://www.dalkescientific.com/writings/diary/archive/2006/08/28/levels_of_abstraction.html</a> - &quot;.  Twisted doesn&#39;t support HTTP/1.1 pipelining and
neither does urllib.&quot;)&nbsp; I think I read elsewhere that web2 does support pipelining, but I&#39;m not sure if FireFox is using pipelining with twisted.web2; it uses heuristics to determine whether to use pipelining or not (provided you enabled pipelining) based on the server type.&nbsp; Wikipedia says most servers support pipelining so I assume Apache does, so I was thinking I could make web2 pose as an Apache server by doing setHeader(&quot;Server&quot;, &quot;Apache/2.2.8(Unix)&quot;), but I get this error.. <br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ctx.setHeader(&quot;Server&quot;, &quot;Apache/2.2.8(Unix)&quot;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exceptions.AttributeError: &#39;Request&#39; object has no attribute &#39;setHeader&#39;<br><br>so how do I set a header using web2?&nbsp; <br>