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

Function read_query_string

openlibrary/utils/request_context.py:149–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147 """Parse solr_editions from web.py context."""
148
149 def read_query_string():
150 return web.input(editions=None).get("editions")
151
152 def read_cookie():
153 if "SOLR_EDITIONS" in web.ctx.env.get("HTTP_COOKIE", ""):

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected