MCPcopy Index your code
hub / github.com/RustPython/RustPython / client_is_modern

Method client_is_modern

Lib/wsgiref/handlers.py:361–363  ·  view source on GitHub ↗

True if client can accept status and headers

(self)

Source from the content-addressed store, hash-verified

359
360
361 def client_is_modern(self):
362 """True if client can accept status and headers"""
363 return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
364
365
366 def log_exception(self,exc_info):

Callers 2

send_preambleMethod · 0.95
send_headersMethod · 0.95

Calls 1

upperMethod · 0.45

Tested by

no test coverage detected