Skip to content

Don't set the global Header for the JSON Content Type #22

@ShivamNagpal

Description

@ShivamNagpal

Move the setHeader call to the writeResponse() as that's the only place where we are writing to the servlet response directly.

fun <T> writeResponse(response: HttpServletResponse, httpStatus: Int, responseWrapper: ResponseWrapper<T>) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions