Skip to content

handler return automatically sets content-type #48

@The-EDev

Description

@The-EDev

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 using mime_types.h to get the proper content-type header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureCode based project improvementgood first issuean issue suitable to start contributing to the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions