Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty array after parsing #20

Open
tadiraman opened this issue Feb 6, 2019 · 7 comments
Open

empty array after parsing #20

tadiraman opened this issue Feb 6, 2019 · 7 comments

Comments

@tadiraman
Copy link

hey,

I am having same issue as here #15

var parts = multipart.Parse(body, boundary);
parts is empty!?

@s11shweta
Copy link

hi,

i am facing same issue. the parts array is always empty...
please advice

thanks

@tadiraman
Copy link
Author

Hi,

This method didn't work as expected. So we created our own parser at buffer level. Let me post a gist of it soon.

@cityofchandler
Copy link

Same here.

@tadiraman
Copy link
Author

@s11shweta and others: Apologies for delay. Here is the gist which handles buffer extraction which takes care of the Boundary.
https://gist.github.com/tadiraman/6cb2a1770109206bb67a003e25a6de7e

@damon-kreft
Copy link

Yeah the example from the README doesn't even work. Presumably a dead broken library now

@hanktrizz
Copy link

Same here. Always getting an empty array.

@downwater
Copy link

Confirmed here. An SO answers shows a simple and useful way to parse multipart/byteranges response: https://stackoverflow.com/a/41351254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants