Hi,

I'm trying to use the example "Get metadata" from 
http://savonet.sourceforge.net/doc-svn/harbor_http.html
Within my radio.liq I have
%include "/path/to/getmeta.liq"
s = on_metadata(update_meta,s)
harbor.http.register(port=7000,method="GET","/getmeta",get_meta)

Within getmeta.liq I have
def update_meta(m) = ...
def get_meta(~protocol,~data,~headers,uri) = ....

I get the following error:
cannot apply that parameter because the function (at 
/path/to/getmeta.liq, line 42, char 21) has no argument labeled 
"method"!

I've been browsing and trying around all evening, but can't find a 
solution.
Hope you can help
brgs
Mike





------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to