In this special case I don't need to extract url parameters just the
POST contents in the case of verification.

So I'll incorporate the POST match and give it a try.


On Sun, Dec 20, 2009 at 8:52 AM, Alexander Burger <a...@software-lab.de> wro=
te:
> On Sat, Dec 19, 2009 at 05:31:24PM +0100, Henrik Sarvell wrote:
>> wonder about is the part where a "normal" request would be split and
>> its keys =3D3D> values would parsed. Is that part enough or is there
>> something else happening in the big/original flow?
>
> I would check for the initial POST, so that erroneous connections are
> discarded:
>
>> =A0 =A0 =A0 =A0 =A0 =A0 (in Sock
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(off *Xml *ContLen)
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(use (L @X @Y)
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (use (L @U @H @X @Y)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(when
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(and
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (line)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (match '("P" "O" "S" =
"T" " " "/" @U " " "H" "T" "T" "P" "/" "1" "." @H) @) )
>
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (while (setq L (line))
>
> Also, you might perhaps need '@U' later to extract URL parameters.
>
> I cannot see other things at the moment that might be needed here.
> Further parsing of arguments, or permissions checks are not necessary,
> right?
>
> Cheers,
> - Alex
> --
> UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe
>
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to