yhttp 9.4.1__tar.gz → 9.4.2__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.
Files changed (63) hide show
  1. {yhttp-9.4.1/yhttp.egg-info → yhttp-9.4.2}/PKG-INFO +1 -1
  2. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/cli.py +3 -5
  3. yhttp-9.4.2/yhttp/core/version.py +1 -0
  4. {yhttp-9.4.1 → yhttp-9.4.2/yhttp.egg-info}/PKG-INFO +1 -1
  5. yhttp-9.4.1/yhttp/core/version.py +0 -1
  6. {yhttp-9.4.1 → yhttp-9.4.2}/LICENSE +0 -0
  7. {yhttp-9.4.1 → yhttp-9.4.2}/README.md +0 -0
  8. {yhttp-9.4.1 → yhttp-9.4.2}/setup.cfg +0 -0
  9. {yhttp-9.4.1 → yhttp-9.4.2}/setup.py +0 -0
  10. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_application.py +0 -0
  11. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_applicationcli.py +0 -0
  12. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_builtincli_serve.py +0 -0
  13. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_builtincli_version.py +0 -0
  14. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_builtincli_yhttp_version.py +0 -0
  15. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_cookie.py +0 -0
  16. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_cookieset.py +0 -0
  17. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_extension.py +0 -0
  18. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_form.py +0 -0
  19. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_form_json.py +0 -0
  20. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_form_multipart.py +0 -0
  21. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_form_urlencoded.py +0 -0
  22. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_fswatcher.py +0 -0
  23. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_guard.py +0 -0
  24. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_guard_body.py +0 -0
  25. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_guard_contenttypes.py +0 -0
  26. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_guard_query.py +0 -0
  27. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_headerset.py +0 -0
  28. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_jsonencoding.py +0 -0
  29. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_locale.py +0 -0
  30. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_logging.py +0 -0
  31. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_middleware.py +0 -0
  32. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_multidict.py +0 -0
  33. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_multipart.py +0 -0
  34. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_querystring.py +0 -0
  35. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_request.py +0 -0
  36. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_responseheaders.py +0 -0
  37. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_rewrite.py +0 -0
  38. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_rewritecli.py +0 -0
  39. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_routing.py +0 -0
  40. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_static.py +0 -0
  41. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_statuses.py +0 -0
  42. {yhttp-9.4.1 → yhttp-9.4.2}/tests/test_statushandler.py +0 -0
  43. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/__init__.py +0 -0
  44. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/application.py +0 -0
  45. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/contenttypes.py +0 -0
  46. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/cookieset.py +0 -0
  47. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/fswatcher.py +0 -0
  48. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/guard.py +0 -0
  49. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/headerset.py +0 -0
  50. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/logging.py +0 -0
  51. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/main.py +0 -0
  52. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/multidict.py +0 -0
  53. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/multipart.py +0 -0
  54. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/request.py +0 -0
  55. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/response.py +0 -0
  56. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/rewrite.py +0 -0
  57. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/static.py +0 -0
  58. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp/core/statuses.py +0 -0
  59. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp.egg-info/SOURCES.txt +0 -0
  60. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp.egg-info/dependency_links.txt +0 -0
  61. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp.egg-info/entry_points.txt +0 -0
  62. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp.egg-info/requires.txt +0 -0
  63. {yhttp-9.4.1 → yhttp-9.4.2}/yhttp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yhttp
3
- Version: 9.4.1
3
+ Version: 9.4.2
4
4
  Summary: A very micro http framework.
5
5
  Home-page: http://github.com/yhttp/yhttp
6
6
  Author: Vahid Mardani
@@ -95,13 +95,11 @@ class Serve(SubCommand): # pragma: no cover
95
95
  def _start(self, app, host, port): # pragma: no cover
96
96
  app.ready()
97
97
  httpd = make_server(host, port, app)
98
- logging.logger.info(
99
- f'Development server started: http://{host}:{port}'
100
- )
98
+ print(f'Development server started: http://{host}:{port}')
101
99
  try:
102
100
  httpd.serve_forever()
103
101
  except KeyboardInterrupt:
104
- logging.logger.info('CTRL+C pressed.')
102
+ print('CTRL+C pressed.', file=sys.stderr)
105
103
  finally:
106
104
  app.shutdown()
107
105
 
@@ -165,7 +163,7 @@ class Serve(SubCommand): # pragma: no cover
165
163
 
166
164
  self._serve(args)
167
165
  except KeyboardInterrupt:
168
- logging.logger.info('CTRL+C pressed.')
166
+ print('CTRL+C pressed.', file=sys.stderr)
169
167
 
170
168
  finally:
171
169
  self._subprocess_killall()
@@ -0,0 +1 @@
1
+ __version__ = '9.4.2'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yhttp
3
- Version: 9.4.1
3
+ Version: 9.4.2
4
4
  Summary: A very micro http framework.
5
5
  Home-page: http://github.com/yhttp/yhttp
6
6
  Author: Vahid Mardani
@@ -1 +0,0 @@
1
- __version__ = '9.4.1'
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
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
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
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes