MCPcopy
hub / github.com/hugapi/hug / force_https.py

File force_https.py

examples/force_https.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""An example of using a middleware to require HTTPS connections.
2 requires https://github.com/falconry/falcon-require-https to be installed via
3 pip install falcon-require-https
4"""

Callers

nothing calls this directly

Calls 1

add_middlewareMethod · 0.80

Tested by

no test coverage detected