From 0eb8583dcecf05c52389f09c3860029076ab9511 Mon Sep 17 00:00:00 2001 From: Landon Cheek Date: Fri, 23 May 2025 12:37:45 -0600 Subject: [PATCH] Allow POST requests issued during Overdrive book returns to be proxied Addresses janeczku/calibre-web#3398 --- cps/kobo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cps/kobo.py b/cps/kobo.py index cfdc60c9..1a8dd913 100644 --- a/cps/kobo.py +++ b/cps/kobo.py @@ -961,6 +961,7 @@ def HandleBookDeletionRequest(book_uuid): # TODO: Implement the following routes @csrf.exempt @kobo.route("/v1/library/", methods=["DELETE", "GET", "POST"]) +@kobo.route("/v1/library//preview", methods=["POST"]) def HandleUnimplementedRequest(dummy=None): log.debug("Unimplemented Library Request received: %s (request is forwarded to kobo if configured)", request.base_url)