Skip to content

Commit 03e8bff

Browse files
fix: Avoid accessing ._http_headers attribute (#393)
## Related - Closes #391 - meltano/sdk#2965 - meltano/sdk#2978
1 parent e481cf7 commit 03e8bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tap_github/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def get_url_params(
173173
params[since_key] = since.isoformat(sep="T")
174174
# Leverage conditional requests to save API quotas
175175
# https://github.community/t/how-does-if-modified-since-work/139627
176-
self._http_headers["If-modified-since"] = email.utils.format_datetime(since)
176+
self.http_headers["If-modified-since"] = email.utils.format_datetime(since)
177177
return params
178178

179179
def validate_response(self, response: requests.Response) -> None:

0 commit comments

Comments
 (0)