Skip to content

Commit 36dd082

Browse files
xrmxherin049
andauthored
Apply suggestions from code review
Co-authored-by: Lukas Hering <40302054+herin049@users.noreply.github.com>
1 parent db83a00 commit 36dd082

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3

instrumentation/opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def response_hook(
105105
106106
will extract ``content-type`` and ``custom_request_header`` from the request headers and add them as span attributes.
107107
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
109109
variable will capture the header named ``custom-header``.
110110
111111
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(
139139
140140
will extract ``content-type`` and ``custom_response_header`` from the response headers and add them as span attributes.
141141
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
143143
variable will capture the header named ``custom-header``.
144144
145145
Regular expressions may also be used to match multiple headers that correspond to the given pattern. For example:

0 commit comments

Comments
 (0)