I need to download the following url from within Corona:
The response is a normal text file in the ICS format.
The above URL works in the browser, but not in Corona, returning a Bad request error.
You can achieve this error by sending an incorrect query to the same url above.
Also, encoding the @ returns the same result:
Here’s the actual query request I’m using:
-- Download the file file.id = network.request( file.fullUrl, "GET", function( event ) self:\_networkListener( event ) end, params )
where file.fullUrl is the string above, and params just sets the timeout and progress mode to full.
Note this works for every other file I’ve tried, it just appears to be a problem with the office ICS files.
Umm… halp?