Re: Examples of XML-RPC or Auth servers using libsoup?



On Monday 24 July 2006 18:51, ext Dan Winship wrote:
> Gustavo Sverzut Barbieri wrote:
> > Ok, it's working. However I may need aditional parameters, but they're
> > simple and could be in URI's query part.  There is any method to get the
> > query as a hash table? Any ideas on how to get this ( p?a=1&b=2 ->
> > { "a": "1", "b": "2" }).
>
> There's currently no method that parses the query string. You'd have to
> write it yourself.

done (svn): http://code.gustavobarbieri.com.br/playground/webutils/query/

Would you like to add this to libsoup? It could be added to soup-uri without 
major problems, just rename the parse_query() to fit your name scheme. Other 
functions are internal (static) and doesn't do any bad being current names.

-- 
Gustavo Sverzut Barbieri
------------------------
INdT, Recife, Brazil

Jabber: barbieri gmail com
   MSN: barbieri gmail com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
GPG: 0xb640e1a2 @ wwwkeys.pgp.net



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