这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@iamjamesim
Copy link
Contributor

What kind of change does this PR introduce?

Closes #4

What is the current behavior?

FunctionInvokeOptions overrides the specified Content-Type header value to application/octet-stream when body is of type Data.

What is the new behavior?

Functions are invoked with the specified Content-Type header value.

Additional context

Fix verified by:

  1. Running the added test case.
  2. Invoking a function that handles multipart/form-data requests.

@grdsdev grdsdev merged commit 272715d into supabase-community:main Nov 15, 2023
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.

Content-Type header should not be overridden

2 participants