MCPcopy
hub / github.com/pallets/werkzeug / pragma

Method pragma

src/werkzeug/sansio/request.py:354–361  ·  view source on GitHub ↗

The Pragma general-header field is used to include implementation-specific directives that might apply to any recipient along the request/response chain. All pragma directives specify optional behavior from the viewpoint of the protocol; however, some systems MAY req

(self)

Source from the content-addressed store, hash-verified

352
353 @cached_property
354 def pragma(self) -> HeaderSet:
355 """The Pragma general-header field is used to include
356 implementation-specific directives that might apply to any recipient
357 along the request/response chain. All pragma directives specify
358 optional behavior from the viewpoint of the protocol; however, some
359 systems MAY require that behavior be consistent with the directives.
360 """
361 return parse_set_header(self.headers.get("Pragma", ""))
362
363 # Accept
364

Callers

nothing calls this directly

Calls 2

parse_set_headerFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected