Using json plugin and DELETE verb results in header conflicts
Closed this issue · 1 comments
mohanklein commented
Hi!
I am absolutely new to roda and just used it for a single endpoint delete microservice, so I didn't spend much time with the source or docs ... Shame on me :-) Here's the deal:
I use plugin :json
in my class App
and wanted to return response.status = 204
on a r.delete
endpoint which results in roda telling me about senseless Content-Type: application/json
beeing set ... Is this purposed behavior or should/can it be fixed easily?
For the moment I ended up simply using 200 status code :-)
Cheers!
mohanklein commented
sorry, I forgot to halt ... my mistake :-)