ogen icon indicating copy to clipboard operation
ogen copied to clipboard

Allow missing Content-Type header

Open mxk opened this issue 7 months ago • 0 comments

I'm working with several APIs where the server does not send a Content-Type header, especially for error responses. This forces me to use a custom http.Client implementation that injects this header before the response is parsed. I'm wondering if it would make sense to do this by default when only one Content-Type is defined for a response?

mxk avatar May 30 '25 19:05 mxk