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

parse response body in client request bindings #43

Open
Arnaz87 opened this issue Oct 17, 2018 · 1 comment · Fixed by #44
Open

parse response body in client request bindings #43

Arnaz87 opened this issue Oct 17, 2018 · 1 comment · Fixed by #44

Comments

@Arnaz87
Copy link
Contributor

Arnaz87 commented Oct 17, 2018

https://github.com/foundpatterns/torchbear/blob/2b7737008f925b793dff466dbdd508ece9baacf5/src/bindings/client.rs#L31-L39

For some reason rust panics when trying to parse the response body into json

@naturallymitchell
Copy link
Member

we fixed this by using serde instead of actix-web's string JSONifier

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

Successfully merging a pull request may close this issue.

2 participants