73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
}
- init
{
self = [super init];
requestType = OF_HTTP_REQUEST_TYPE_GET;
headers = [[OFDictionary alloc]
initWithObject: @"Something using ObjFW "
@"<https://webkeks.org/objfw/>"
forKey: @"User-Agent"];
storesData = YES;
return self;
}
- initWithURL: (OFURL*)URL_
{
|
|
>
|
|
<
|
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
}
- init
{
self = [super init];
requestType = OF_HTTP_REQUEST_TYPE_GET;
headers = [[OFDictionary alloc] initWithKeysAndObjects:
@"Connection", @"close",
@"User-Agent", @"Something using ObjFW "
@"<https://webkeks.org/objfw/>", nil];
storesData = YES;
return self;
}
- initWithURL: (OFURL*)URL_
{
|