-
Notifications
You must be signed in to change notification settings - Fork 50
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
Sending bytes as query param #41
Comments
Did this ever get resolved? Looking to implement this into my project, but this would likely be a requirement |
Not as far as I know, but the monkey patching above works well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fix for Issue #22 works only if the bytes are in the body of the request, not in query parameters. In this case, they're being removed by
flattenRequestPayload
even though the type generated isUint8Array
.Changing the
flattenRequestPayload
function to below (see the added third if statement) seems to solve the problem. It reuses thereplacer
function behaviour.The text was updated successfully, but these errors were encountered: