8000 Revert "no trailing slash for post to /entries" · sigstore/sigstore-python@fc468cf · GitHub
[go: up one dir, main page]

Skip to content

Commit fc468cf

Browse files
Revert "no trailing slash for post to /entries"
This reverts commit 79a6d31. Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
1 parent ffb5bb8 commit fc468cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigstore/_internal/rekor/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def post(
155155
payload = proposed_entry.model_dump(mode="json", by_alias=True)
156156
_logger.debug(f"proposed: {json.dumps(payload)}")
157157

158-
resp: requests.Response = self.session.post(self.url.rstrip("/"), json=payload)
158+
resp: requests.Response = self.session.post(self.url, json=payload)
159159
try:
160160
resp.raise_for_status()
161161
except requests.HTTPError as http_error:

0 commit comments

Comments
 (0)
0