You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ def response_hook(
105
105
106
106
will extract ``content-type`` and ``custom_request_header`` from the request headers and add them as span attributes.
107
107
108
-
Request header names in aiohttp are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
108
+
Request header names in urllib3 are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
109
109
variable will capture the header named ``custom-header``.
110
110
111
111
Regular expressions may also be used to match multiple headers that correspond to the given pattern. For example:
@@ -139,7 +139,7 @@ def response_hook(
139
139
140
140
will extract ``content-type`` and ``custom_response_header`` from the response headers and add them as span attributes.
141
141
142
-
Response header names in aiohttp are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
142
+
Response header names in urllib3 are case-insensitive. So, giving the header name as ``CUStom-Header`` in the environment
143
143
variable will capture the header named ``custom-header``.
144
144
145
145
Regular expressions may also be used to match multiple headers that correspond to the given pattern. For example:
0 commit comments