We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afe6346 commit b9c43acCopy full SHA for b9c43ac
code/function/fastapp/api/v1/endpoints/sample.py
@@ -23,6 +23,10 @@ async def post_predict(
23
response = await client.get("https://www.bing.com")
24
logger.info(f"Received response status code: {response.status_code}")
25
26
+ with httpx.Client() as client:
27
+ response = client.get("https://www.google.com")
28
+ response = httpx.get("https://www.google.de")
29
+
30
# tracer_attributes = {"http.client_ip": x_forwarded_for}
31
# with tracer.start_as_current_span(
32
# "dependency_span", attributes=tracer_attributes, kind=SpanKind.CLIENT
0 commit comments