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

Fix of client events behavior #1181

Merged

Conversation

rlavshchenko
Copy link
Contributor

Hi, I found node-soap really useful, but I had figured out some issue with client events behavior.

Its impossible to add to request additional http header, when "request" or "message" events were invoked because headers are already calculated when those events are emitted. Based on this issue I'm providing to you my pull request, with pretty simple and working solution. I added a test which describes behavior of request with my fix and without my fix. I consider, it will be really helpful for many developers.

Ruslan Lavshchenko added 2 commits January 21, 2022 13:29
…e" events;

added accompanying test which test ability to add http header within "request" event;
@jsdevel jsdevel merged commit 52a280e into vpulim:master Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants