Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for httpClient (0.09 sec)

  1. samples/bookinfo/src/productpage/productpage.py

    # You will see the REQUEST, including HEADERS and DATA, and RESPONSE with HEADERS but without DATA.
    # The only thing missing will be the response.body which is not logged.
    import http.client as http_client
    http_client.HTTPConnection.debuglevel = 0
    
    app = Flask(__name__)
    FlaskInstrumentor().instrument_app(app)
    logging.basicConfig(stream=sys.stdout, level=logging.INFO)
    requests_log = logging.getLogger("requests.packages.urllib3")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top