Skip to content

Conversation

@rzane
Copy link
Contributor

@rzane rzane commented Jan 8, 2026

The test_track_js_client currently sends application/x-www-form-urlencoded bodies. I was looking to send application/json instead, which is what the Dart client does. This change causes the client to send a preflight request, since the request is no longer considered "simple". The preflight request failed, since the fake server does not allow the content-type header.

The real Test Track server allows all headers.

/no-platform

@rzane rzane force-pushed the rzane/allow-headers-cors branch from f7f3981 to 063b9e4 Compare January 8, 2026 14:48
@rzane rzane requested review from kelvin-acosta and smudge January 8, 2026 14:49
Copy link
Member

@samandmoore samandmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

domainlgtm

@rzane rzane merged commit d1a4701 into main Jan 8, 2026
4 checks passed
@rzane rzane deleted the rzane/allow-headers-cors branch January 8, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants