From: marco <marcofognog@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: Rack app as proxy server - doubt about how to do it
Date: Sun, 20 Mar 2011 18:53:33 -0700 (PDT) [thread overview]
Message-ID: <3383398e-77b8-477c-b101-de5eb3bb5cbf@x18g2000yqe.googlegroups.com> (raw)
Hi all.
I am trying to build a proxy, and its is just repeat the requests and
responses without modifying it. At first, it seemed easy, but right
now I am having some issues.
But, before getting specific in those issues I would like to know if
anyone of you have already build something like that, or know some git
repo.
The issues I am facing concerns authenticity tokens on rails , and
https requests. By the way, I am kind newbie on http and ruby/rack.
Right now, the code looks like this: http://pastie.org/1694410
It works good with simple GET and POST requests.
Any advice would be appreciated.
Regards.
reply other threads:[~2011-03-21 2:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3383398e-77b8-477c-b101-de5eb3bb5cbf@x18g2000yqe.googlegroups.com \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).