Add a note about why /legacy/get exists

This commit is contained in:
Kovid Goyal 2017-06-04 16:55:46 +05:30
parent 9299f99939
commit adbfdc858e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -259,4 +259,6 @@ def stanza(ctx, rd, rest):
@endpoint('/legacy/get/{what}/{book_id}/{library_id}/{+filename=""}', android_workaround=True) @endpoint('/legacy/get/{what}/{book_id}/{library_id}/{+filename=""}', android_workaround=True)
def legacy_get(ctx, rd, what, book_id, library_id, filename): def legacy_get(ctx, rd, what, book_id, library_id, filename):
# See https://www.mobileread.com/forums/showthread.php?p=3531644 for why
# this is needed for Kobo browsers
return get(ctx, rd, what, book_id, library_id) return get(ctx, rd, what, book_id, library_id)