librequests icon indicating copy to clipboard operation
librequests copied to clipboard

Troubles with binary files

Open AM-ORMAECHEA-SANSINENA opened this issue 8 years ago • 3 comments

i am having troubles getting binary files (.xlsx) with librequest. No problems as far as i know with txt files. Seems like binary file is truncated. i am using the application/vnd.openxmlformats-officedocument.spreadsheetml.sheet mime type to get the xlsx file.

AM-ORMAECHEA-SANSINENA avatar Jul 30 '17 08:07 AM-ORMAECHEA-SANSINENA

Thanks for the bug report! I never used this much with binary files. Unfortunately this software is unmaintained, and I am unable to help debug or create a fix right now.

On Sun, Jul 30, 2017 at 4:28 AM Ángel María Ormaechea Sansiñena < [email protected]> wrote:

i am having troubles getting binary files (.xlsx) with librequest. No problems as far as i know with txt files. Seems like binary file is truncated. i am using the application/vnd.openxmlformats-officedocument.spreadsheetml.sheet mime type to get the xlsx file.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mossberg/librequests/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWmG5_dL10gEAugSVbPHOqAHA3tUSj0ks5sTD6wgaJpZM4Onkzq .

offlinemark avatar Jul 31 '17 19:07 offlinemark

See patch for binary data from obiwac, https://github.com/mossberg/librequests/pull/34

https://raw.githubusercontent.com/mossberg/librequests/f92e0ec0e8a1f6034a7b45d2be2764e9b1f1e8cf/src/requests.c

lubyagin avatar Mar 08 '19 12:03 lubyagin

Thanks for the heads up, I missed that PR. Will take a look!

offlinemark avatar Mar 08 '19 15:03 offlinemark