[webkit-dev] libsoup

Christian Dywan christian at twotoasts.de
Tue Feb 24 15:47:40 PST 2009


Am Tue, 24 Feb 2009 21:19:30 +0000
schrieb Luke Kenneth Casson Leighton <lkcl at lkcl.net>:

> On Tue, Feb 24, 2009 at 6:34 PM, Christian Dywan
> <christian at twotoasts.de> wrote:
> 
> 
> > Hey,
> >
> > note that some time ago the WebKitGtk hackers decided to drop
> > support for libcurl and always work with libsoup.
> 
>  ohh.  ... same difference? :)
> 
> [...]
> 
> * again, the python module that's loaded by libsoup goes "http://apps?
> that's for meee!" and it then looks in /home/lkcl/apps/server and
> guess what?  it finds that there's a cgi-bin script (or a django app,
> or a WSGI python app) which the python module DIRECTLY RUNS in order
> to obtain the http content!
> 
> in other words, you're _cutting out_ the web server!
> 
> the python module (dynamically loaded by libsoup) _is_ the web server.
> 
> [...]

Hey Luke,

as a further advice, if you want something today instead of tomorrow,
since you mention the web server as a stumbling block, have a look at
SoupServer, which makes running a local server as simple as
soup_server_new (). Granted, you still need to provide a callback
feeding back data, but there is no need for any kind of standalone
process for the task.

ciao,
    Christian


More information about the webkit-dev mailing list