Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Option to always store body as binary #15

Open
robfletcher opened this Issue · 4 comments

2 participants

@robfletcher
Owner

No description provided.

@facundofarias

Is it possible also to store always not as binary?
When building the tests, and using the real endpoints, there are situations that are not easy to make it happen, or perhaps you just want to simulate a situation, and then it would be nice to manipulate the body response as you wish.

@robfletcher
Owner

The problem with that is that the response body may contain data that will break YAML encoding and render the tape file unreadable.

@facundofarias

Mmm got your point. I finally did it by hand, but i think that we should have some kind of workaround to manipulate the response. Any thoughts about this?

@robfletcher
Owner

I've tried to ensure text is used as much as possible but ultimately SnakeYAML makes the decision and it has some heuristics about what it thinks will work as text. I'm not sure what more it's possible to do. It would be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.