Skip to content

fix(functions): send the caller's content-type instead of dropping it - #451

Merged
Tr00d merged 1 commit into
supabase:masterfrom
fresh55:fix/functions-caller-content-type
Sep 28, 2026
Merged

Tr00d merged 1 commit into
supabase:masterfrom
fresh55:fix/functions-caller-content-type

Conversation

@fresh55

@fresh55 fresh55 commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

closes #265

a Content-Type in the invoke headers, in any casing, now replaces the default application/json instead of being dropped. the body is still sent as JSON, same as invoke in functions-js.

@Tr00d Tr00d self-assigned this Sep 28, 2026
@Tr00d
Tr00d merged commit 6690b0d into supabase:master Sep 28, 2026
2 checks passed
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.

parity(functions): honor caller's Content-Type header regardless of casing [from supabase-js]

2 participants