-
Notifications
You must be signed in to change notification settings - Fork 30
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
RFC - accept response by ignore the body #2
Comments
I think having accept: json but not specifying a jsonpath will read the body without doing anything with it. Should be easy to modify to a better behaviour. I added you as contributor. Feel free to push :) |
feature #2: allow empty or nil accept header in test spec
right, as in PR #2, now |
hi @eriklupander
for now, gotling only support
accept: json
, for some case, i'd like to get the response, read the body but just simply ignore the data.so, could you add support of this, for example, if we don't specify
accept
in the spec, then behavior as read body but ignore?actually, i'd like to try to contribute PR if you think this is valid requirement.
thanks
The text was updated successfully, but these errors were encountered: