<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: peteris-krummins</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/peteris-krummins.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2010-04-28T13:24:58+00:00</updated><author><name>Simon Willison</name></author><entry><title>A HTTP Proxy Server in 20 Lines of node.js</title><link href="https://simonwillison.net/2010/Apr/28/http/#atom-tag" rel="alternate"/><published>2010-04-28T13:24:58+00:00</published><updated>2010-04-28T13:24:58+00:00</updated><id>https://simonwillison.net/2010/Apr/28/http/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.catonmat.net/http-proxy-in-nodejs?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A catonmat %28good coders code%2C great reuse%29"&gt;A HTTP Proxy Server in 20 Lines of node.js&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Proxying is definitely a sweet spot for Node.js. Peteris Krummins takes it a step further, adding host blacklists and an IP whitelist as configuration files and using Node’s watchFile method to automatically reload changes to them.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/http"&gt;http&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/javascript"&gt;javascript&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/nodejs"&gt;nodejs&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/peteris-krummins"&gt;peteris-krummins&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/proxies"&gt;proxies&lt;/a&gt;&lt;/p&gt;



</summary><category term="http"/><category term="javascript"/><category term="nodejs"/><category term="peteris-krummins"/><category term="proxies"/></entry></feed>