diff --git a/Foundation/CPJSONPConnection.j b/Foundation/CPJSONPConnection.j index 0f529d39b..e00a33ee6 100644 --- a/Foundation/CPJSONPConnection.j +++ b/Foundation/CPJSONPConnection.j @@ -24,6 +24,15 @@ import CPJSONPConnectionCallbacks = {}; +/* + Important note: CPJSONPConnection is only for JSONP APIs. + If aren't sure you need + JSONP, + you most likely don't want to use CPJSONPConnection, but rather the more standard + CPURLConnection. CPJSONPConnection is designed for cross-domain + connections, and if you are making requests to the same domain (as most web + applications do), you do not need it. +*/ @implementation CPJSONPConnection : CPObject { CPURLRequest _request;