Arc Forumnew | comments | leaders | submit | immad's commentslogin
5 points by immad 4223 days ago | link | parent | on: Keeping GET params in the case of a POST

I haven't checked the specs, but in most web languages I have worked with you can get GET parameters even when there is a POST. If this is not allowed by specs than I stand corrected. GET parameters are just stuck to the url so its definitely possible.. If its not allowed in theory then I stand corrected, I just often find it useful.

-----

9 points by immad 4223 days ago | link | parent | on: Arc2.tar

pg: might want to update http://arclanguage.org/install with the new version.

-----

3 points by pg 4223 days ago | link

oops, fixed

-----


I am working on OpenID integration for arc. The OpenID code was written by rtm, using the OpenID perl library.

It works fairly well. I am just putting the Clickpass stuff into it. It will probably be released with arc in the not too distant future, though i am not sure exactly how it will be structured.

-----

1 point by CatDancer 4226 days ago | link

I started out thinking I'd be using Perl (just because I program in Perl a lot), but then it didn't look like any of the Perl OpenID libraries supported OpenID version 2 yet...

How are you integrating with Perl, just out of curiousity?

-----

1 point by immad 4225 days ago | link

Yeah, good point, I hadn't checked for OpenID 2.0 supports.

It was all rtm. The call looks like this:

  (withs (cmd (+ "./yc-openid.pl -1 < " filename)
                stream (pipe-from cmd)
                redir (readline stream)
                canon (readline stream))
           (close stream)
           (rmfile filename)
           (list redir canon))

-----

1 point by CatDancer 4225 days ago | link

Yup, that's essentially the same approach as I'm taking (at least in terms of connecting Arc to another language).

Well, if any of the code I'm writing turns out to be useful to you for your project, you're welcome to make use of it... it's all in the public domain anyway :)

-----

1 point by immad 4225 days ago | link

cool, I got the source. I will see where it helps. Got a few little things to do with mine, I am sure it will be release soonish...

-----