jugmac00 / flask-reuploaded

File uploads for Flask.
https://github.com/jugmac00/flask-reuploaded
MIT License
63 stars 12 forks source link

TestingFileStorage doesn't pass through headers argument to parent class #128

Open djmattyg007 opened 2 years ago

djmattyg007 commented 2 years ago

The code is hard-coded to pass None to the Werkzeug FileStorage class, rather than passing through the headers keyword argument.

Also it's typed as Any, rather than as werkzeug.Headers like the doc comment implies.

jugmac00 commented 1 year ago

Thanks for your report.

Would you like to provide a pull request?