Interesting. Urllib2 should follow redirect to https I hadn't tried with curl, but if you try with curl -L, what happens? It should follow the https redirect.
Pat On Mon, Sep 10, 2018, 12:14 PM Thomas Keffer <tkef...@gmail.com> wrote: > On Mon, Sep 10, 2018 at 9:11 AM Pat <p...@obrienphoto.net> wrote: > >> USGS will auto-promote the client to https. >> > > It didn't for me. I tried > > curl > http://earthquake.usgs.gov/fdsnws/event/1/query?limit=1&lat=37.212907&lon=-89.529325&maxradiuskm=1000&format=geojson&nodata=204&minmag=2 > > and it came back with an HTML page that said the resource had "moved > permanently." > > -tk > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/SrYsEdp9eK8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > weewx-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.