http_open with parameters

Josef Frydl <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
I need help with http_open, when URI contains parameters ? etc.

I call my predicate  bring_file('http://www.youtube.com/watch%3Fv%3Dz95Ozbz6KUE') this just changes 
I change %3F to ? and %3D to = , as you can see below 
call http_open and  get exception with this  error

error(type_error(atom,http://www.youtube.com/watch?v=z95Ozbz6KUE),context(system:set_stream/2,_G6687))

all other calls without parameters work perfectly 

Thanks Josef Frydl

-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.