markdown-up 1.7.3__tar.gz → 1.7.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {markdown-up-1.7.3/src/markdown_up.egg-info → markdown-up-1.7.5}/PKG-INFO +1 -1
- {markdown-up-1.7.3 → markdown-up-1.7.5}/setup.cfg +1 -1
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up/app.py +2 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up/main.py +7 -3
- {markdown-up-1.7.3 → markdown-up-1.7.5/src/markdown_up.egg-info}/PKG-INFO +1 -1
- {markdown-up-1.7.3 → markdown-up-1.7.5}/LICENSE +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/README.md +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/pyproject.toml +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up/__init__.py +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up/__main__.py +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up.egg-info/SOURCES.txt +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up.egg-info/dependency_links.txt +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up.egg-info/entry_points.txt +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up.egg-info/requires.txt +0 -0
- {markdown-up-1.7.3 → markdown-up-1.7.5}/src/markdown_up.egg-info/top_level.txt +0 -0
|
@@ -121,9 +121,11 @@ MARKDOWN_UP_HTML = chisel.StaticRequest(
|
|
|
121
121
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/data.js" as="script">
|
|
122
122
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/library.js" as="script">
|
|
123
123
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/model.js" as="script">
|
|
124
|
+
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/options.js" as="script">
|
|
124
125
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/parser.js" as="script">
|
|
125
126
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/runtime.js" as="script">
|
|
126
127
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/runtimeAsync.js" as="script">
|
|
128
|
+
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/bare-script/lib/value.js" as="script">
|
|
127
129
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/element-model/lib/elementModel.js" as="script">
|
|
128
130
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/lib/app.js" as="script">
|
|
129
131
|
<link rel="modulepreload" href="https://craigahobbs.github.io/markdown-up/lib/dataTable.js" as="script">
|
|
@@ -68,10 +68,14 @@ def main(argv=None):
|
|
|
68
68
|
|
|
69
69
|
# Create the WSGI application
|
|
70
70
|
wsgiapp = MarkdownUpApplication(root)
|
|
71
|
+
|
|
72
|
+
# Wrap the WSGI application and the start_response function so we can log status and environ
|
|
71
73
|
def wsgiapp_wrap(environ, start_response):
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
def log_start_response(status, response_headers):
|
|
75
|
+
if not args.quiet:
|
|
76
|
+
print(f'markdown-up: {status[0:3]} {environ["REQUEST_METHOD"]} {environ["PATH_INFO"]} {environ["QUERY_STRING"]}')
|
|
77
|
+
return start_response(status, response_headers)
|
|
78
|
+
return wsgiapp(environ, log_start_response)
|
|
75
79
|
|
|
76
80
|
# Host the application
|
|
77
81
|
if not args.quiet:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|