Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.86k stars 822 forks source link

Asset Manager (the new one) - can't seem to send POST data to a URLRequest #1044

Open NeoMarine opened 6 years ago

NeoMarine commented 6 years ago

Please note this is also posted on the forums here: https://forum.starling-framework.org/topic/asset-manager-the-new-one-cant-seem-to-send-post-data-to-a-urlrequest

Basically I believe the new asset manager does not send POST data when enqueue a URLRequest. I have observed since updating to the new asset manager that, with enqueueSingle() method is returning a result from the server, but if I check/print all $_POST data then it is empty.

PrimaryFeather commented 6 years ago

Thanks for opening up the issue! As a wrote in the forum, I'm not sure this needs to be a part of the AssetManager — a custom helper class, or maybe an addition to the new DataLoader would also be an option.

NeoMarine commented 6 years ago

Thank you for your help and response. Indeed it's not necessary but was a nice feature to have regardless. I am using URLLoader with URLRequest now instead.