MCPcopy
hub / github.com/tornadoweb/tornado / set_extra_headers

Method set_extra_headers

tornado/web.py:3139–3141  ·  view source on GitHub ↗

For subclass to add extra headers to the response

(self, path: str)

Source from the content-addressed store, hash-verified

3137 return "application/octet-stream"
3138
3139 def set_extra_headers(self, path: str) -> None:
3140 """For subclass to add extra headers to the response"""
3141 pass
3142
3143 def get_cache_time(
3144 self, path: str, modified: Optional[datetime.datetime], mime_type: str

Callers 1

set_headersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected