~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/apps/consoleservice/__init__.py

  • Committer: mattgiuca
  • Date: 2008-01-21 05:47:23 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:255
dispatch.request: Added "hostname" field.
debuginfo: Print hostname field from request.
consoleservice: Use the hostname field from request to determine the server
hostname, rather than hardcoding "localhost".

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    req.write_html_head_foot = False
35
35
 
36
36
    # TODO: Figure out the host name the console server is running on.
37
 
    host = "localhost"
 
37
    host = req.hostname
38
38
 
39
39
    # Find an available port on the server.
40
40
    # TODO