fakeRequest
@PostMapping(value="/diagnosis-keys",
headers="cwa-fake!=0")
public org.springframework.web.context.request.async.DeferredResult<org.springframework.http.ResponseEntity<Void>> fakeRequest(@RequestHeader("cwa-fake")
Integer fake)
Handles "fake" requests. The concept of fake (or "dummy") requests is a privacy preserving measure which is
characterized by having corona warn app send "dummy" requests in randomized intervals. These requests are not
triggering any diagnosis key processing/storage on the server but simply result in an HTTP response with status
code 200 (OK) after a dynamically calculated delay.
- Parameters:
fake
- The header flag, marking fake requests.
- Returns:
- An empty response body and HTTP status code 200 (OK).