You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
Global headers provided on client init do not work.
Reason: Every function call uses something like
{code}
var options = extend({ body: body, headers: {} }, opts)
{code}
i.e. forcefully defines a "headers" attribute. On the used "xtend" version of extend this is therefore overriding any global options set:
{code}
var options = extend({}, client._options, opts)
{code}
Resolution: Use version of "extend" supporting recursive extension.
The text was updated successfully, but these errors were encountered:
@wilkohein, can you contact me on christian dot vogel at mulesoft dot com? I saw your new implementation or fork and I wasn't able to raise any issues. Like to speak to you about that :)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Global headers provided on client init do not work.
Reason: Every function call uses something like
{code}
var options = extend({ body: body, headers: {} }, opts)
{code}
i.e. forcefully defines a "headers" attribute. On the used "xtend" version of extend this is therefore overriding any global options set:
{code}
var options = extend({}, client._options, opts)
{code}
Resolution: Use version of "extend" supporting recursive extension.
The text was updated successfully, but these errors were encountered: