MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / wrapper

Function wrapper

scripts/affiliate_server.py:734–737  ·  view source on GitHub ↗
(environ, start_response)

Source from the content-addressed store, hash-verified

732 """
733
734 def wrapper(environ, start_response):
735 if environ.get("HTTP_X_SCHEME") == "https":
736 environ["wsgi.url_scheme"] = "https"
737 return app(environ, start_response)
738
739 return wrapper
740

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected