From 641d800619298ca5faaae49e10fc5ae2a6c0340d Mon Sep 17 00:00:00 2001 From: Mike Reinstein Date: Tue, 4 Mar 2014 19:11:56 -0800 Subject: [PATCH] adding documentation for withCredentials option --- readme.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.markdown b/readme.markdown index d151caa..eb507ce 100644 --- a/readme.markdown +++ b/readme.markdown @@ -44,6 +44,7 @@ var req = http.request(options, cb) * headers={}, as an object mapping key names to string or Array values * host=window.location.host * port=window.location.port +* withCredentials=true, as a bool to set if CORS should include cookies as part of the request The callback will be called with the response object.