Implementing an HTTP proxy

David K. picture David K. · Jun 4, 2012 · Viewed 8.8k times · Source

I would like to implement and HTTP proxy server to get a deeper understanding of some of the finer points of the protocol and learn some socket programming along the way but I don't want to implement a full-blown HTTP server. What are the relevant RFC pages and sections in those pages that I should be focusing on if I just want to implement a proxy?

The plan is to start with a regular HTTP proxy and then potentially extend it to an HTTPS proxy.

Answer