mloesch / sickle

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

Use current time as datestamp if not set by server #16

Closed jbaiter closed 7 years ago

jbaiter commented 7 years ago

I'm currently dealing wit a misbehaving OAI-PMH endpoint that does not set a datestamp in the header, which breaks parsing the response with sickle. This PR implements a workaround for this scenario by setting an artificial datestamp (set to the current time) if none is found in the header of the response.

mloesch commented 7 years ago

Superseded by #17