Http Bin¶
The code for this example is located in the examples.httpbin.manage
module.
Pulsar HTTP test application:
python manage.py
Implementation¶
Server Hooks¶
This example shows how to use server hooks to log each request
-
examples.httpbin.config.
post_request
(response, exc=None)[source]¶ Handle a post request,
response
is an instance ofHttpServerResponse