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

remove content_type from response #23

Open
olirice opened this issue Jul 27, 2021 · 1 comment
Open

remove content_type from response #23

olirice opened this issue Jul 27, 2021 · 1 comment
Assignees

Comments

@olirice
Copy link
Collaborator

olirice commented Jul 27, 2021

Remove the content_type field from net._http_response since it is a header and there is already a field for that
https://github.com/supabase/pg_net/blob/master/sql/pg_net--0.1.sql#L22

@olirice olirice self-assigned this Jul 27, 2021
@steve-chavez
Copy link
Member

+1 to this one. Otherwise we have to guard for cases where there's no content-type in the worker.

Already done here, but still less code is better.

@steve-chavez steve-chavez mentioned this issue Jul 27, 2021
4 tasks
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