[Webware-discuss] identify browser type with PSP

2001-12-06 Thread Su Zhang
In cgi, we can use os.environ[ "HTTP_USER_AGENT" ] to verify what browser does the client use. In PSP, how can I identify whether the client uses IE or Netscape? Because os.environ does not have the "HTTP_USER_AGENT" key. Thanks, Su ___ Webware-discus

[Webware-discuss] has better performance than ?

2001-11-09 Thread Su Zhang
Hi, Since does not parse the inserted file for psp content, does it mean that has better performance than ? If the inserted/included file is a plain text file or a html file, which one should be used? Su ___ Webware-discuss mailing list [EMAIL P

[Webware-discuss] absolute path in "

2001-11-08 Thread Su Zhang
Hi, I wrote a test psp file -- test.psp: The test.psp file is located at /Webware/PSP/Examples/ch29. When I run this psp program, I got the following error: File "G:\python22\lib\ntpath.py", line 218, in getmtime st = os.stat(filename) OSError: [Errno 2] No such

[Webware-discuss] Using Webware with Python2.2

2001-11-02 Thread Su Zhang
Hi, I'm new to Webware. When I run Webkit's AppServer (webkit.cgi) using Python 2.2b1, I get the following Traceback: Listening on ('127.0.0.1', 8086) Creating 10 threads.. win32 extensions not present. Webkit Will not be able to detatch from the contr olling terminal. Ready