Skip to content

Conversation

@matmar10
Copy link
Contributor

Fixes issue #31

@matmar10
Copy link
Contributor Author

Ping. Can you merge this?

buildRequestBody(additionalOptions, headers, method) {
let bodyData = {};
let requestContentType = headers['content-type'];
let requestContentType = headers['content-type'] || this.suite.commonHeaders['content-type'];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matmar10 This is not required here, because the headers passed to this function include common headers too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I raised issue #31 because the current behavior does not include common headers set in config.

If you need, I can create a gist that reproduces this.

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

Successfully merging this pull request may close these issues.

2 participants