PyDocs

Nav

Internet Protocols and Support

BaseHTTPRequestHandler.handle_expect_100

http.server

method of BaseHTTPRequestHandler · Added in 3.2 (source) not WASI
  • BaseHTTPRequestHandler.handle_expect_100()
Decide what to do with an "Expect: 100-continue" header.

If the client is expecting a 100 Continue response, we must
respond with either a 100 Continue or a final response before
waiting for the request body. The default is to always respond
with a 100 Continue. You can behave differently (for example,
reject unauthorized requests) by overriding this method.

This method should either return True (possibly after sending
a 100 Continue response) or send an error response and return
False.
0 Examples
No examples for http.server/BaseHTTPRequestHandler.handle_expect_100.
See Also
No see-alsos for http.server/BaseHTTPRequestHandler.handle_expect_100
0 Notes
No notes for BaseHTTPRequestHandler.handle_expect_100