Skip to content

The status code is returning incorrectly. I expect it to return 404, but it is ultimately returning 200. #1808

Description

@LetAmericaGreatAgain

std::string status = "404"; res->writeStatus(std::string_view(status)); res->end("File not found");
The status code is returning incorrectly. I expect it to return 404, but it is ultimately returning 200.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions