[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Really fascinating



On 18 October 2014 00:13, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
> On 17 Oct 2014, at 11:08, Brian Brietzke <bbrietzke@xxxxxxxxx> wrote:
[...]
>> As for cohttp, are there an worked examples of having parameterized resource
>> URIs?
>
> Not sure -- Thomas (Leonard) may have one as he worked on his blog.

My example just matches on fixed URLs, but I imagine you can process
the URL string with any suitable library to extract query parameters,
e.g.

https://github.com/mirage/ocaml-uri


-- 
Dr Thomas Leonard        http://0install.net/
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.