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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: markdown-up
3
- Version: 1.7.3
3
+ Version: 1.7.5
4
4
  Summary: The MarkdownUp launcher
5
5
  Home-page: https://github.com/craigahobbs/markdown-up-py
6
6
  Author: Craig A. Hobbs
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = markdown-up
3
- version = 1.7.3
3
+ version = 1.7.5
4
4
  url = https://github.com/craigahobbs/markdown-up-py
5
5
  author = Craig A. Hobbs
6
6
  author_email = craigahobbs@gmail.com
@@ -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
- if not args.quiet:
73
- print(f'markdown-up: {environ["REQUEST_METHOD"]} {environ["PATH_INFO"]} {environ["QUERY_STRING"]}')
74
- return wsgiapp(environ, start_response)
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: markdown-up
3
- Version: 1.7.3
3
+ Version: 1.7.5
4
4
  Summary: The MarkdownUp launcher
5
5
  Home-page: https://github.com/craigahobbs/markdown-up-py
6
6
  Author: Craig A. Hobbs
File without changes
File without changes
File without changes