[PR #93] Fix file uploads to Revolt backend #92

Open
opened 2026-02-15 23:16:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stoatchat/python-client-sdk/pull/93
Author: @greeeen-dev
Created: 2/13/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (1)

  • 19e1705 fix: add authentication token to headers for file upload

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 revolt/http.py (+2 -1)

📄 Description

This PR fixes file uploads failing due to requests missing the bot's authentication token, looks like Revolt recently started requiring this.

Please make sure to check the following tasks before opening and submitting a PR

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/python-client-sdk/pull/93 **Author:** [@greeeen-dev](https://github.com/greeeen-dev) **Created:** 2/13/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`19e1705`](https://github.com/stoatchat/python-client-sdk/commit/19e170513aaaebb1a655633086436613f9d33d41) fix: add authentication token to headers for file upload ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `revolt/http.py` (+2 -1) </details> ### 📄 Description This PR fixes file uploads failing due to requests missing the bot's authentication token, looks like Revolt recently started requiring this. ## Please make sure to check the following tasks before opening and submitting a PR - [X] I understand and have followed the [contribution guide](https://github.com/revoltchat/.github/blob/master/.github/CONTRIBUTING.md) - [X] I have tested my changes locally and they are working as intended --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 23:16:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/python-client-sdk#92