Peteris Krumins personal blog
A HTTP Proxy Server in 20 Lines of node.js Code
This is just amazing. In 20 lines of node.js code and 10 minutes of time I was able to write a HTTP proxy. Take a look: var http = require('http'); http.createServer(function(request, response) { var proxy = http.createClient(80, request.headers['host']) var proxy_request =...
- Points
- 116
- HN comments
- 25
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringWeb & Frontend2010
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 28, 2010 | A HTTP Proxy Server in 20 Lines of node.js Code by pkrumins | 116 | 25 |