Comments (2)
Hey @N-Schaef Mattermost have release a new version: 5.23.1 that fixes this issue.
Detail:
Modified the mime check, such that we now require Content-Type to be set in the request header.
This change was unintentional and led to breaking changes.
from slacker.
Hey just a heads up the fix is relatively trivial to implement if you get the time to implement and push upstream please review lines:
Lines 1182 to 1183 in ec39f34
Set the headers in the post request: headers={'content-type': 'application/json'}
, example change:
return requests.post(self.url, data=json.dumps(data),
timeout=self.timeout, proxies=self.proxies,
headers={'content-type': 'application/json'})
from slacker.
Related Issues (20)
- Slack Token? Webhook URL? HOT 2
- files.upload: doesn't support thread_ts HOT 1
- Files.upload - file (image) in memory HOT 3
- File.upload - supports as_user? HOT 1
- Issue uploading files with a unicode filename
- Files libexec/punjab.tac, crossdomain.xml, etc are written into plist, but aren't installed
- SSL: CERTIFICATE_VERIFY_FAILED behind proxy HOT 5
- Enabling Meetup preview HOT 2
- Renaming in 0.13 breaks slacker-cli HOT 2
- Fedora package HOT 1
- on error in "__init__.BaseAPI()", only the error text is shown, not the error details, unlike Slack's API Tester HOT 2
- How to add a thread message if using slacker HOT 1
- Add support for Analytics (Stats) API
- add support for remote files
- please add the testcases for each class
- Can't send messages with blocks HOT 1
- How to get a list of all users? HOT 1
- Issuing new legacy token is deprecated HOT 3
- Error handling of slacker.Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slacker.