Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fix unmarshalling request error"
This reverts commit 35be548. Depending on whetther the document has pages, koreader sends payload with the following formats. {"percentage":0.005,"device":"device_name","device_id":"B78EA04ACC3A453DBA220D720C0BE102","document":"348e34463a44ba68659fc6fe814a6778","progress":3} {"percentage":1,"device":"device_name","device_id":"B78EA04ACC3A453DBA220D720C0BE102","document":"4eb484b229696cb39cd8fe5495aa1bbe","progress":"\/body\/DocFragment[30]\/body\/p\/img.0"} We can not blindly unmarshal progress into int or string.
- Loading branch information