MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / get_cdn

Method get_cdn

pywebio/platform/adaptor/http.py:238–241  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

236 return context.get_response()
237
238 def get_cdn(self, context):
239 if self.cdn is True and context.request_url_parameter('_pywebio_cdn', '') == 'false':
240 return False
241 return self.cdn
242
243 def read_event_data(self, context: HttpContext) -> List[Dict]:
244 try:

Callers 1

Calls 1

request_url_parameterMethod · 0.45

Tested by

no test coverage detected