Skip to content

Commit

Permalink
Update http_requests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saimedhi authored Feb 22, 2024
1 parent f394b6f commit e133d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensearchpy/connection/http_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def perform_request( # type: ignore

# Add the service time to the response headers
if calculate_service_time:
response.headers["X-Service-Time"] = str(duration)
raw_data["__client"] = {"Service_Time": str(duration)}

# raise warnings if any from the 'Warnings' header.
warnings_headers = (
Expand Down

0 comments on commit e133d52

Please sign in to comment.