Skip to content

Commit

Permalink
Removed (unused) sentry_timestamp header (#1494)
Browse files Browse the repository at this point in the history
Removed (unused) sentry_timestamp header
refs #1493
  • Loading branch information
antonpirker authored Jul 15, 2022
1 parent a7033d8 commit b076a78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sentry_sdk/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b076a78

Please sign in to comment.