John,
I am willing to keep my code in my app but I do think what I'm doing
is more general than just my app as the convoluted redirects in the
login are all generated by J2EE (or the WebSphere implementation of
it). I imagine others may want to use HTTParty to connect to existing
J2EE applications so might want to do something similar.
To give you more detail here is the login process of the app I'm
trying to connect to
1 - Users trying to access any page are redirected to an application
specific page
http://my.server.com/myapp/login.jsp (this is configured
by the application in the j2ee web.xml)
2 - Users fill out the login form and click submit which posts the
credentials as
http://my.server.com/myapp/j_security_check?j_username=my_name&j_password=my_password
3 - J2EE/WebSphere code authenticates and sends a redirect back to
http://my.server.com/myapp (with several session cookies)
4 - The browser requests the home page with the session cookie,
WebSphere authorizes and lets the application show the home page
I'm unable to use HTTParty without my changes to do steps 2-4. I have
put my patch into my app and that is working but I would ask that you
take one more moment to reconsider how specific my request is.
Thanks
Alex
On May 10, 12:54 am, John Nunemaker <
nunema...@gmail.com> wrote:
> This seems like a pretty specific use case. I don't know that I can
> see lots of people needing it, which is what I would like to keep
> HTTParty for. I would just make this a separate gem or something
> specific for your app.
>
> On May 8, 2009, at 10:32 AM, Alex Rothenberg wrote:
>
>
>
> > Hi,
>
> > I'm not sure how you like to receive patch requests as I couldn't find
> > a working lighthouse link.
>
> > I've created a patch to the party on github
> >
http://github.com/alexrothenberg/httparty/commit/c84c6c968ab8b15c88af...