updated code to produce different timegate relations depending on 302 vs. 200-style datetime negotiation