# Help with HTTP Intercepting Proxy in Ruby?

**URL:** <https://www.ruby-forum.com/t/help-with-http-intercepting-proxy-in-ruby/187279>\
**Category:** Ruby\
**Created:** [April 21, 2010, 12:38am UTC](https://www.ruby-forum.com/t/help-with-http-intercepting-proxy-in-ruby/187279 "2010-04-21T00:38:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdubb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e0b2c6/32.png) [@pdubb](https://www.ruby-forum.com/u/pdubb)\
**Post date:** [April 21, 2010, 12:38am UTC](https://www.ruby-forum.com/t/help-with-http-intercepting-proxy-in-ruby/187279/1 "2010-04-21T00:38:17Z")

</div>

I have the beginnings of an HTTP Intercepting Proxy written in Ruby (see  
attachment).

This simple proxy that I made parses the destination out of the HTTP  
request, then reads the HTTP response and performs logic based on  
special HTML tags. The proxy works for the most part, but seems to have  
trouble dealing with binary data and HTTPS connections.

How can I fix these problems?
