pg_net icon indicating copy to clipboard operation
pg_net copied to clipboard

remove content_type from response

Open olirice opened this issue 4 years ago • 1 comments

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 avatar Jul 27 '21 11:07 olirice

+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 avatar Jul 27 '21 16:07 steve-chavez