mloesch / sickle

Sickle: OAI-PMH for Humans
Other
106 stars 42 forks source link

handle where 503 returns a date rather than a int #28

Open ajtag opened 5 years ago

ajtag commented 5 years ago

as the title suggests, the http spec says that a retry-after header can be a date of format... or an int. in the wild I am getting date values returned,

so this is a bug report/ first crack at writing some code that fixes the issue,

it has been written in the github editor and yet to be tested, so although the syntax highlighter looks good, quality may be variable.