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

Honor common_headers if specified from JS module #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matmar10
Copy link
Contributor

No description provided.

@matmar10
Copy link
Contributor Author

Bump. Can we get this merged?

@@ -214,6 +215,7 @@ export default class Suite extends EventEmitter {
this.port = configuration.port;
this.base_path = configuration.base_path || '';
this.read_timeout = configuration.read_timeout || 60000;
suiteConfigData.common_headers = configuration.common_headers || [];
Copy link
Owner

Choose a reason for hiding this comment

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

common_headers coming from js module should go to this.commonHeaders object, see line# 268 in master branch

@@ -183,7 +183,8 @@ export default class Suite extends EventEmitter {
port: suiteConfigData.port,
scheme: suiteConfigData.scheme,
base_path: suiteConfigData.base_path,
read_timeout: suiteConfigData.read_timeout
read_timeout: suiteConfigData.read_timeout,
common_headers: suiteConfigData.common_headers,
Copy link
Owner

Choose a reason for hiding this comment

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

This is not required, because we are already reading common_headers from YAML on line#268

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.

None yet

2 participants