From b076a788d0e5b15f1fb2468b93d285c7a6e21ff0 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Fri, 15 Jul 2022 10:49:41 +0200 Subject: [PATCH] Removed (unused) sentry_timestamp header (#1494) Removed (unused) sentry_timestamp header refs #1493 --- sentry_sdk/utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sentry_sdk/utils.py b/sentry_sdk/utils.py index 38ba4d7857..ccac6e37e3 100644 --- a/sentry_sdk/utils.py +++ b/sentry_sdk/utils.py @@ -270,12 +270,10 @@ def get_api_url( type, ) - def to_header(self, timestamp=None): - # type: (Optional[datetime]) -> str + def to_header(self): + # type: () -> str """Returns the auth header a string.""" rv = [("sentry_key", self.public_key), ("sentry_version", self.version)] - if timestamp is not None: - rv.append(("sentry_timestamp", str(to_timestamp(timestamp)))) if self.client is not None: rv.append(("sentry_client", self.client)) if self.secret_key is not None: