Skip to content

[Tracking] iRacing /data API: Incorrect Content-Type for JSON Chunks #17

@popmonkey

Description

@popmonkey

Description

The iRacing /data API incorrectly serves chunked JSON data with the Content-Type: application/octet-stream header instead of the expected application/json. This behavior deviates from standard REST practices and requires specialized handling in the client.

Current workaround

irdata_js explicitly checks for application/octet-stream when retrieving Chunk data and "correcting" the contentType to application/json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingiracingthis issue is on the iRacing side

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions