mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
1679bd1299
commit
d84f89cc45
4 changed files with 6 additions and 27 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue