durusmail: quixote-users: async HTTP server included?
async HTTP server included?
2004-01-06
2004-01-06
Re: async HTTP server included?
2004-01-06
2004-01-06
async HTTP server included?
2004-01-06
Re: async HTTP server included?
2004-01-06
async HTTP server included?
2004-01-07
Re: async HTTP server included?
2004-01-07
2004-01-07
2004-01-07
2004-01-07
Re: Licensing
2004-01-07
2004-01-07
2004-01-07
Pipelining the async HTTP server
2004-01-07
Re: Pipelining the async HTTP server
2004-01-07
2004-01-07
2004-01-08
Re: Pipelining the async HTTP server
2004-01-08
2004-01-08
2004-01-08
2004-01-08
quixote.server.medusa (Re: Pipelining the async HTTP server)
2004-01-08
quixote.server.medusa
2004-01-08
2004-01-12
Re: quixote.server.medusa (Re: Pipelining the async HTTP server)
2004-01-13
Problem with using quixote.server.medusa vs. standalone medusa
2004-01-14
Re: Problem with using quixote.server.medusa vs. standalone medusa
2004-01-14
Resolved! Was Re: [Quixote-users] Re: Problem with using quixote.server.medusa vs. standalone medusa
2004-01-14
Re: Resolved! Was Re: Re: Problem with using quixote.server.medusa vs. standalone medusa
2004-01-14
Pipelining the async HTTP server
2004-01-08
2004-01-08
Re: Pipelining the async HTTP server
2004-01-08
2004-01-08
2004-01-06
Re: async HTTP server included?
2004-01-06
async HTTP server included?
Jim Dukarm
2004-01-07
-------------- Quoth Graham Fawcett: -------------
> Okay, this is really rough; it's a combination of Pierre's code and
> server.medusa_http. I'm sure there are a few errors in here; but I've
> managed to get the quixote.demo running on my Win32 workstation. I'll
> read through this later and try to clean it up a bit.

With a very little hacking and sawing, I managed to get my app running
with the qserver substituted for the Quixote medusa server.

Right under the part where you create the environ dictionary, I
inserted this, which I had put into my QuixoteHandler to support basic
HTTP authentication:

        auth = msg.get('Authorization')
        if auth:
            environ['AUTHORIZATION'] = auth

Running everything on localhost:80 (in Windows XP with Opera), I was
able to bring up my app's dynamically-generated home page and also
display Help pages, which are gotten to via StaticDirectory. The style
sheet and app icon, which are StaticFile objects, also were found and
employed as expected.

My test was not very extensive, because the thing that I was
_supposed_ to be working on today has a bug in it that prevents me
from logging in and displaying other pages.  I suppose I had better
get back to my official work!

It might be good to move the "from quixote import publish" statement
down into the test routine, since publish is only referenced down
there.

Since the basic page-publishing machinery seems to work, I will leave
the qserver and its supporting baling wire in place and exercise it
some more when I get the broken part of my app welded back together.

Thanks, Graham!

Jim Dukarm
DELTA-X RESEARCH
Victoria BC Canada



reply