handler return automatically sets content-type #48
Labels
feature
Code based project improvement
good first issue
an issue suitable to start contributing to the project
discussion in ipkn#250
Currently Crow only supports this with its own JSON data type, no xml, no anything.
one potential solution would be to create a response constructor argument that specifies the content type (as opposed to just headers), this can be done by using an extention (e.g.
xml
) and then usingmime_types.h
to get the proper content-type header.The text was updated successfully, but these errors were encountered: