mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
revert
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28029 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
20b5bfbb86
commit
06cbfc3c44
4 changed files with 1 additions and 25 deletions
|
@ -1,11 +1,3 @@
|
||||||
2009-03-02 Richard Frith-Macdonald <rfm@gnu.org>
|
|
||||||
|
|
||||||
* Headers/Foundation/NSURLHandle.h: Add new key.
|
|
||||||
* Source/NSURLHandle.m: Ditto
|
|
||||||
* Source/GSHTTPURLHandle.m: When a request completes with an HTTP
|
|
||||||
status code outside the 200-299 range, report it as a load complete
|
|
||||||
rather than cancelling the load is the new 'ReturnAll' key is set.
|
|
||||||
|
|
||||||
2009-03-01 Fred Kiefer <FredKiefer@gmx.de>
|
2009-03-01 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSBundle.m (-localizedStringForKey:value:table): Correct
|
* Source/NSBundle.m (-localizedStringForKey:value:table): Correct
|
||||||
|
|
|
@ -115,13 +115,6 @@ GS_EXPORT NSString * const GSHTTPPropertyKeyFileKey;
|
||||||
*/
|
*/
|
||||||
GS_EXPORT NSString * const GSHTTPPropertyPasswordKey;
|
GS_EXPORT NSString * const GSHTTPPropertyPasswordKey;
|
||||||
|
|
||||||
/**
|
|
||||||
* Key for passing to [NSURLHandle]'s <code>propertyForKey..</code> methods to
|
|
||||||
* specify that all results should be returned, not just those where the
|
|
||||||
* HTTP status code is in the 200-299 range.
|
|
||||||
*/
|
|
||||||
GS_EXPORT NSString * const GSHTTPPropertyReturnAllKey;
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -744,8 +744,7 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
||||||
bodyPos = 0;
|
bodyPos = 0;
|
||||||
DESTROY(wData);
|
DESTROY(wData);
|
||||||
NSResetMapTable(wProperties);
|
NSResetMapTable(wProperties);
|
||||||
if ((code >= 200 && code < 300)
|
if (code >= 200 && code < 300)
|
||||||
|| [[request objectForKey: GSHTTPPropertyReturnAllKey] boolValue])
|
|
||||||
{
|
{
|
||||||
[self didLoadBytes: [d subdataWithRange: r]
|
[self didLoadBytes: [d subdataWithRange: r]
|
||||||
loadComplete: YES];
|
loadComplete: YES];
|
||||||
|
@ -1514,11 +1513,6 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
||||||
* to 8080 for <code>http</code> and 4430 for <code>https</code>.
|
* to 8080 for <code>http</code> and 4430 for <code>https</code>.
|
||||||
* </item>
|
* </item>
|
||||||
* <item>
|
* <item>
|
||||||
* GSHTTPPropertyReturnAllKey - specify whether the handle is to
|
|
||||||
* return all HTTP responses, or only those where the code is in
|
|
||||||
* the range from 200 to 299.
|
|
||||||
* </item>
|
|
||||||
* <item>
|
|
||||||
* Any NSHTTPProperty... key
|
* Any NSHTTPProperty... key
|
||||||
* </item>
|
* </item>
|
||||||
* </list>
|
* </list>
|
||||||
|
|
|
@ -88,9 +88,6 @@ NSString * const GSHTTPPropertyKeyFileKey
|
||||||
NSString * const GSHTTPPropertyPasswordKey
|
NSString * const GSHTTPPropertyPasswordKey
|
||||||
= @"GSHTTPPropertyPasswordKey";
|
= @"GSHTTPPropertyPasswordKey";
|
||||||
|
|
||||||
NSString * const GSHTTPPropertyReturnAllKey
|
|
||||||
= @"GSHTTPPropertyReturnAllKey";
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue