Skip to content

Return 204 for CORS preflight OPTIONS in client HTTP handler #41

@mhbdev

Description

@mhbdev

In ClientRunner.cpp, ClientRunner::receive_http_request responds to OPTIONS with a 200 and an HTML body. This should return a 204 No Content with empty payload (but keep CORS headers) to align with standard preflight behavior and avoid clients misinterpreting the response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions