Open vbisbest opened 2 years ago
I should add, I also tried hooking the 'item' call and it has even less headers (usually 3 out of 12).
Here is an example. You can see the content-type in Postman (confirmed it works properly with newman as well).
And here is the request object in my reporter, you can see the content-type header is not on the request function:
newman -v
): 5.3.1I am hooking the newman.on('request', (err, data)) call in my reporter. The Content-Type header missing. However when Newman runs (and Postment sends a request), the header is there (verified with a proxy). I am not sure how to determine the appropriate content-type with only the 'request' object. Is this a bug?