# Missing feature: Detect server-side book deletions.
# Missing feature: Join the response with results from the official Kobo store so that users can still buy and access books from the device store (particularly while on-the-road).
response=make_response(jsonify(entitlements))
sync_token.to_headers(response.headers)
response.headers["x-kobo-sync-mode"]="delta"
response.headers["x-kobo-apitoken"]="e30="
returnresponse
@kobo.route("/v1/library/<book_uuid>/metadata")
@login_required
@download_required
defHandleMetadataRequest(book_uuid):
log.info("Kobo library metadata request received for book %s"%book_uuid)