This Web URL Stopped Working in LiveCode all versions. HELP!
Ralph DiMola
rdimola at evergreeninfo.net
Wed Aug 21 20:30:45 EDT 2019
Thanks MW for the detective work and Trevor for the proper solution and all
the other who helped.
Reading the header works like a charm.
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Trevor DeVore via use-livecode
Sent: Wednesday, August 21, 2019 5:25 PM
To: How to use LiveCode
Cc: Trevor DeVore
Subject: Re: This Web URL Stopped Working in LiveCode all versions. HELP!
On Wed, Aug 21, 2019 at 2:29 PM Ralph DiMola via use-livecode <
use-livecode at lists.runrev.com> wrote:
> All requested payloads from them are now compressed. I didn't put my
> API key in the example. I pay for this service and did not get an
> email about any changes(buy cheap get cheap I guess). This happened in
> the last few days.
> Did a try/catch and decompress. The app works now. Try/catch feels
> like a kludge. I will try the libURLSetCustomHTTPHeaders route. That
> might be cleaner. I also sent them a support request but will not hold my
breath.
>
If you look at the headers the server is sending back the `content-encoding`
is `gzip`. Just check for that and run decompress if present.
--
Trevor DeVore
ScreenSteps
www.screensteps.com
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list