Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
8eb2b8d3
Commit
8eb2b8d3
authored
May 04, 1999
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a comment to document the zhttp_handler options. Thanks to Skip Montanaro for the suggestion.
parent
507562d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
ZServer/start.py
ZServer/start.py
+9
-0
lib/python/ZServer/start.py
lib/python/ZServer/start.py
+9
-0
No files found.
ZServer/start.py
View file @
8eb2b8d3
...
...
@@ -116,6 +116,15 @@ hs = zhttp_server(
resolver
=
rs
,
logger_object
=
lg
)
# Handler for a published module. zhttp_handler takes 3 arguments:
# The name of the module to publish, and optionally the URI base which
# is basically the SCIRPT_NAME, and optionally a dictionary with CGI
# environment variables which override default settings. The URI base
# setting is useful when you want to publish more than one module with
# the same HTTP server. The CGI environment setting is useful when you
# want to proxy requests from another web server to ZServer, and would
# like the CGI environment to reflect the CGI environment of the other
# web server.
zh
=
zhttp_handler
(
MODULE
,
''
)
hs
.
install_handler
(
zh
)
...
...
lib/python/ZServer/start.py
View file @
8eb2b8d3
...
...
@@ -116,6 +116,15 @@ hs = zhttp_server(
resolver
=
rs
,
logger_object
=
lg
)
# Handler for a published module. zhttp_handler takes 3 arguments:
# The name of the module to publish, and optionally the URI base which
# is basically the SCIRPT_NAME, and optionally a dictionary with CGI
# environment variables which override default settings. The URI base
# setting is useful when you want to publish more than one module with
# the same HTTP server. The CGI environment setting is useful when you
# want to proxy requests from another web server to ZServer, and would
# like the CGI environment to reflect the CGI environment of the other
# web server.
zh
=
zhttp_handler
(
MODULE
,
''
)
hs
.
install_handler
(
zh
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment