Closed marshalllamb closed 7 years ago
What version are you using ? This is supposed to be fixed in #2.
1.0.0-BETA0
Please install the version at tag beta
, should be 1.0.0-BETA3
.
Thanks. That works.
Would you also add support for https? I doctored the require to be for 'https' instead of 'http' since the Bayeux server I'm connecting to only supports https. I can open another Issue if you want.
The https
issue is already resolved by #6. It's not been published to NPM yet, though.
https
support landed in 1.0.0-BETA4.
salesforce.com sets 3 cookies on responses to handshakes and subscribes, but the logic in the XMLHttpRequest send() function is preserving cookies as individual array values instead of collapsing them into a single Cookie header. I modified the logic as follows, and it works: