-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Steps to reproduce
configuration:
custom_configuration:
run_type: module
module:
module_path: some-module.js
function_name: suiteConfigSync
specs:
- name: uses suite-level custom_configuration content-type header
request:
path: /echoJSONBodyResponse
method: post
payload:
body:
type: json
content:
name: Kiran
response:
status_code: 200module.exports = {
suiteConfigSync: function() {
this.common_headers = [{
name: 'content-type',
value: 'application/json'
}];
}
};Actual Behavior
InvalidRequestHeaderError: Request method is post,request body is provided but Content-Type header is not provided
Expected Behavior
common_headers should be honored
Metadata
Metadata
Assignees
Labels
No labels