Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multi-part form Content-Disposition Headers #56

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

varon
Copy link
Contributor

@varon varon commented Mar 30, 2024

With the default generation of these headers, Stability API's platform was not correctly handling the content-disposition headers and was rejecting our requests with BAD REQUEST.

This patches the behavior to explicitly set these headers - which solves the issue.

This isn't the most elegant solution, but it does address the problem - I'm open to more elegant approaches if you can suggest them.

@varon
Copy link
Contributor Author

varon commented Apr 3, 2024

@Zaid-Ajaj - any luck? Would love to get this merged as it's blocking for us.

@Zaid-Ajaj Zaid-Ajaj merged commit ced1dac into Zaid-Ajaj:master Apr 8, 2024
Zaid-Ajaj added a commit that referenced this pull request Apr 8, 2024
@Zaid-Ajaj
Copy link
Owner

Hi @varon this is merged and published as of Hawaii v0.69 🚀 it should be available on nuget soon

@varon varon deleted the fix-multi-part-form-content-type branch April 9, 2024 13:09
@varon
Copy link
Contributor Author

varon commented Apr 9, 2024

Thank you! absolutely appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants