def METHOD_NAME(self):
    content_length = int(self.headers["Content-Length"])
    post_data = self.rfile.read(content_length)
    payload = {
        "message": "POST Received",
        "path": str(self.path),
        "headers": str(self.headers),
        "body": str(post_data.decode("utf-8")),
    }
    with _Handler.count_lock:
        _Handler.post_counter += 1
    self._set_response()
    self.wfile.write(json.dumps(payload).encode("utf-8"))
    present = datetime.datetime.now()
    if content_id := json.loads(post_data).get("content_key"):
        try:
            submit_time = datetime.datetime.fromisoformat(
                content_id.split("-time-")[1]
            )
            latency = present - submit_time
            with self.latency_lock:
                self.submission_latencies.append(
                    (submit_time, present, latency.total_seconds())
                )
        except ValueError and IndexError:
            pass