On Tue, Dec 8, 2009 at 8:57 AM, Mario Domenech Goulart
<address@hidden> wrote:
Hi
On Sat, 14 Nov 2009 13:01:59 +0100 Christian Kellermann <
address@hidden> wrote:
> * Michael Maul <
address@hidden> [091113 22:38]:
>> Could someone describe how to access POS and GET parameters from inside
>> spiffy?
>
> (uri-query (request-uri (current-request)))) will get you the GET
> parameters as alist. I am not sure about POST. In chicken3 there
> used to be a convenience function in spiffy-utils.
Beware that you should use uri-common's `uri-query' (not uri-generic's),
since intarweb's `request-uri' returns an uri-common object.
Best wishes.
Mario
A few days ago I had a difficult bug to diagnose, which happened because I was trying to use uri-generic with uri-dispatch, instead of uri-common.
What is the purpose of uri-generic anyway?
--Stephen
programmer, n:
A red eyed, mumbling mammal capable of conversing with inanimate monsters.