72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
return [OFString stringWithFormat:
@"An HTTP %s request with URL %@ failed with code %d!", method,
[_request URL], [_response statusCode]];
}
- (OFHTTPRequest*)request
{
OF_GETTER(_request, false)
}
- (OFHTTPResponse*)response
{
OF_GETTER(_response, false)
}
@end
|
|
|
|
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
return [OFString stringWithFormat:
@"An HTTP %s request with URL %@ failed with code %d!", method,
[_request URL], [_response statusCode]];
}
- (OFHTTPRequest*)request
{
OF_GETTER(_request, true)
}
- (OFHTTPResponse*)response
{
OF_GETTER(_response, true)
}
@end
|