[LEAPSECS] problem fetching Leap_Second_History.dat ?
seaman at noao.edu
Thu Mar 26 16:37:14 EDT 2015
I can load this URL in a browser:
But PHK’s python code (which worked a couple of month’s ago):
if conn == None:
conn = httplib.HTTPConnection("hpiers.obspm.fr")
r1 = conn.getresponse()
if r1.status != 200:
print (r1.status, r1.reason)
now throws an status:
Which is a URL redirection (nominally “moved temporarily”, which I saw yesterday evening in some browser or other). Not obvious if a failure to handle a redirection is the same as an error, but it seems possible that this is either a symptom of something else, or if actually a new layer of indirection in getting to this file will catch some other application.
Either way this may add more weight to the notion of using DNS instead of HTTP to fetch leap second info.
Haven’t looked very far under the hood yet, so could certainly be something else entirely.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LEAPSECS