apache / apache/royale-asjs

HTTPRequest returns a result with OPTIONS but not POST

Open
#466 6 comments 0 reactions 1 assignee Claimed by @greg-dove View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

When I make an HTTP request to my server, which handles CORS, the browser first sends an OPTIONS request, and after that sends my request. A sample program is attached.
But my program receives ResultEvent.RESULT after the OPTIONS, instead of after the POST.
I can see this in the Chrome Dev Tools. I can also see that the POST succeeds and produces expected data.

[HTTPTest.zip](https://github.com/apache/royale-asjs/files/3576492/HTTPTest.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.