RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Debugging HTTP Proxy - RFC

Hi, I’m hacking away at a proof-of-concept debugging http proxy that allows you to intercept https? requests and record, rewrite, redirect & mock response using rack apps.

http://github.com/deepfryed/chuck

This started off as a learning exercise and has grown into something I can personally use for work. I’d be interested in some outside ideas and critical comments to polish this off to make it generally useful.

Warning: The code is very much a work in progress :)

Thanks

Comments

Neat! I’ve also been wanting to write an evented proxy using http_parser, to replace the old Ronin::Web::Proxy.

Also, you might consider using DataObjects, which has adapters for SQLite3, MySQL, Postgres, and JDBC on JRuby.

Yeah thought about using DataObjects or just sqlite3 directly (assuming it would work under jruby with ffi) for this. I might look into that soon.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in