RadarCOVID/radar-covid-backend-dp3t-server

Invalid response Content-Type for /v2/gaen/exposed

Closed this issue · 1 comments

There is a typo in the GET /exposed mapping for the v2 GAEN controller, Content-Type should be application/zip instead of applicaton/zip:

// GET for Key Download
@GetMapping(value = "/exposed", produces = "applicaton/zip")
@Documentation(
description = "Requests keys published _after_ lastKeyBundleTag.",
responses = {
"200 => zipped export.bin and export.sig of all keys in that interval",
"404 => Invalid _lastKeyBundleTag_"
})

It is a minor bug but it might break some clients.

Thanks @josemmo. We fixed it.