mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Update Tests/base/NSURLConnection/Helpers/SimpleWebServer.m
Co-authored-by: Hugo Melder <service@hugomelder.com>
This commit is contained in:
parent
2b086b335d
commit
81108c46f5
1 changed files with 0 additions and 8 deletions
|
@ -427,14 +427,6 @@
|
|||
|
||||
// adding the status line
|
||||
status = [[_response headerNamed: @"http"] value];
|
||||
if (nil == status)
|
||||
{
|
||||
status = [[_response headerNamed: @"HTTP"] value];
|
||||
}
|
||||
if (nil == status)
|
||||
{
|
||||
status = [[_response headerNamed: @"Http"] value];
|
||||
}
|
||||
statusData = [status dataUsingEncoding: NSUTF8StringEncoding];
|
||||
data = [[NSMutableData alloc] initWithData: statusData];
|
||||
[_response deleteHeaderNamed: @"http"];
|
||||
|
|
Loading…
Reference in a new issue