http-rs / http-types

Common types for HTTP operations
https://docs.rs/http-types
Apache License 2.0
200 stars 83 forks source link

EOF while parsing a value at line 1 column 0 #177

Closed sankar-boro closed 4 years ago

sankar-boro commented 4 years ago

_req.take_body().into_json().await?

on using above syntax while parsing body gives "EOF while parsing a value at line 1 column 0 error". Please look into it and fix the error.

yoshuawuyts commented 4 years ago

@sankar-boro thanks for opening this issue. Do you have a repro we could check out? We haven't encountered this issue before, and it'll be hard to say more about this issue without more information. Thanks!

sankar-boro commented 4 years ago

Thanks for the reply.

Link for issue test on github. https://github.com/sankar-boro/test-server

On Sun, Jun 7, 2020 at 1:58 PM Yoshua Wuyts notifications@github.com wrote:

@sankar-boro https://github.com/sankar-boro thanks for opening this issue. Do you have a repro we could check out? We haven't encountered this issue before, and it'll be hard to say more about this issue without more information. Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/http-rs/http-types/issues/177#issuecomment-640177112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6RN2JDTFRZT4RSIUTWYFTRVNFTTANCNFSM4NW3WPGA .