Skip to content

Commit

Permalink
No need to remove headers in GitHub Filter Endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Apr 1, 2024
1 parent 0203c51 commit 346d570
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pydis_site/apps/api/views.py
Expand Up @@ -303,8 +303,6 @@ def post(self, request: Request, *, webhook_id: str, webhook_token: str) -> Resp
(response_status, headers, body) = self.send_webhook(
webhook_id, webhook_token, request.data, dict(request.headers),
)
headers.pop('Connection', None)
headers.pop('Content-Length', None)

response_body = {
"original_status": response_status,
Expand Down

0 comments on commit 346d570

Please sign in to comment.