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
The parsers.xml.options object is only set in the shortcutOptions() method. However, when directly calling the request() method from client code, shortcutOptions() never gets called so the XML parser doesn't receive options set by the client. My fix for this was to change the first line in the request() method to: var request = new Request(url, shortcutOptions(options, options.method));
If you'd like, I can submit a PR with this change.
The text was updated successfully, but these errors were encountered:
The
parsers.xml.options
object is only set in theshortcutOptions()
method. However, when directly calling therequest()
method from client code,shortcutOptions()
never gets called so the XML parser doesn't receive options set by the client. My fix for this was to change the first line in therequest()
method to:var request = new Request(url, shortcutOptions(options, options.method));
If you'd like, I can submit a PR with this change.
The text was updated successfully, but these errors were encountered: