Closed sweetpi closed 10 years ago
Thanks for the diff! Did you by chance make it against an old fork?
Oh sorry this was by accident. Pulled the current version. It seems that there are is a mix of spaces and tabs, what do you prefer?
Sweet! Spaces - but I will go in and fix that after I merge your pull req!
Now it would be able to merge, but the diff still looks strange because of some space/tab changes. Is it ok four you, or should I make a new patch?
Thanks! Just pushed version 0.2.1 to npm!
Thanks!
Thanks for this cool node module. I had some problems when I tried to send push notifications while my network was down:
So the error didn't get catched and brought node down :(. I fixed the error handling by moving the error listener from the response object to the request object.
from: http://nodejs.org/api/http.html#http_http_request_options_callback "If any error is encountered during the request (be that with DNS resolution, TCP level errors, or actual HTTP parse errors) an 'error' event is emitted on the returned request object."