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

Handling binary data #84

Open
Surowa opened this issue Oct 16, 2023 · 2 comments
Open

Handling binary data #84

Surowa opened this issue Oct 16, 2023 · 2 comments

Comments

@Surowa
Copy link

Surowa commented Oct 16, 2023

Hi there,

I was wondering if it is also possible to use this framework to handle web requests involving binary data.
Is it possible to set the content-type to e.g. multipart/form-data
And get a request stream?
A bit similar to this ASP.NET implementation: https://technowide.net/2012/09/01/upload-binary-data-http-post/

A way to do this may be by setting up a streamreader (https://stackoverflow.com/questions/67844289/powershell-api-using-streamreader) but I don't know if this tool's architecture would allow that.

@jpsider
Copy link
Owner

jpsider commented Oct 18, 2023

I don't think there is anything preventing from a cursory look. Do you want to give it a shot and submit a PR?

@Surowa
Copy link
Author

Surowa commented Nov 21, 2023

I will give it a try!

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

No branches or pull requests

2 participants