Files
cappuccino/Objective-J
Alexandre Wilhelm bd0bd2e087 New: added timeout and cache feature in CPURLRequest
This PR adds the possibility to set the timeout and the cache policy of a CPURLRequest.
For that, there are new things in the framework :

- CFHTTPRequest has now the functions setTimeout(), getTimeout() and isTimeoutRequest
- CPURLRequest has now the methods +requestWithURL:cachePolicy:timeoutInterval: and -initWithURL:cachePolicy:timeoutInterval:
- CPURLConnection does not call the delegate didReceiveData: when a request has timed out. I will call the delegate didFailWithError:
- Cache is now possible for a CPURLRequest, only CPURLRequestReturnCacheDataElseLoad, CPURLRequestReturnCacheDataDontLoad and CPURLRequestReloadIgnoringLocalCacheData are supported. By default CPURLRequestReloadIgnoringLocalCacheData.
- Default timeout has been set to 60sec as in cocoa.
- A request is considered as timeout when there isn't any response (text/xml/type) and when the status of the response is 0.
2015-08-13 17:08:59 -07:00
..
2014-11-06 10:10:05 -08:00
2012-07-28 02:06:05 +01:00
2014-11-25 17:56:04 -05:00
2012-05-10 09:01:03 -04:00
2014-06-22 16:07:17 +01:00
2013-08-15 10:21:45 -04:00
2010-02-17 19:20:44 -08:00
2014-11-26 11:07:48 +00:00
2014-11-26 11:07:48 +00:00
2014-11-06 10:10:05 -08:00
2013-08-09 08:28:37 -04:00
2013-01-20 18:24:48 +00:00