mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Remove obsolete constant
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8156 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e14023c539
commit
4211a9d8dd
4 changed files with 6 additions and 27 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-11-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/externs.m: Removed obsolete http body key.
|
||||
* Source/GSHTTPURLHandle.m: Removed obsolete http body key.
|
||||
* Headers/Foundation/NSURLHandle.h: Removed obsolete http body key.
|
||||
|
||||
2000-11-20 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Source/NSConnection.m: ([NSConnection -invalidate]) Fixed typo in
|
||||
|
|
|
@ -41,7 +41,6 @@ GS_EXPORT NSString *NSHTTPPropertyErrorPageDataKey;
|
|||
GS_EXPORT NSString *GSHTTPPropertyMethodKey;
|
||||
GS_EXPORT NSString *GSHTTPPropertyProxyHostKey;
|
||||
GS_EXPORT NSString *GSHTTPPropertyProxyPortKey;
|
||||
GS_EXPORT NSString *GSHTTPBodyKey;
|
||||
#endif
|
||||
|
||||
typedef enum
|
||||
|
|
|
@ -619,28 +619,6 @@ static NSLock *urlLock = nil;
|
|||
{
|
||||
[request setObject: property forKey: propertyKey];
|
||||
}
|
||||
else if ([propertyKey compare: @"GSHTTPBodyKey"] == NSOrderedSame)
|
||||
{
|
||||
NSData *p;
|
||||
|
||||
/*
|
||||
* writing using the GSHTTPBodyKey is equivalent to making sure
|
||||
* the next load operation is a post.
|
||||
*/
|
||||
p = [property dataUsingEncoding: NSASCIIStringEncoding];
|
||||
if (wData == nil)
|
||||
{
|
||||
wData = RETAIN(p);
|
||||
}
|
||||
else
|
||||
{
|
||||
NSMutableData *d = [wData mutableCopy];
|
||||
|
||||
[d appendData: p];
|
||||
ASSIGNCOPY(wData, d);
|
||||
RELEASE(d);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
[wProperties setObject: property forKey: [propertyKey lowercaseString]];
|
||||
|
|
|
@ -289,8 +289,6 @@ NSString *GSHTTPPropertyProxyHostKey;
|
|||
|
||||
NSString *GSHTTPPropertyProxyPortKey;
|
||||
|
||||
NSString *GSHTTPBodyKey;
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
@ -516,8 +514,6 @@ GSBuildStrings()
|
|||
= [[SClass alloc] initWithCString: "GSHTTPPropertyProxyHostKey"];
|
||||
GSHTTPPropertyProxyPortKey
|
||||
= [[SClass alloc] initWithCString: "GSHTTPPropertyProxyPortKey"];
|
||||
GSHTTPBodyKey
|
||||
= [[SClass alloc] initWithCString: "GSHTTPBodyKey"];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue