ObjFW  Diff

Differences From Artifact [3e1f9b1751]:

To Artifact [af5623a848]:


116
117
118
119
120
121
122









123
124
125
126
127
128
129
130
131
132
- (OFString*)MIMEType
{
	OF_GETTER(MIMEType, YES)
}
@end

@implementation OFHTTPRequestResult









- OF_initWithStatusCode: (short)status
		headers: (OFDictionary*)headers_
		   data: (OFDataArray*)data_
{
	self = [super init];

	statusCode = status;
	data = [data_ retain];
	headers = [headers_ copy];








>
>
>
>
>
>
>
>
>
|
|
|







116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
- (OFString*)MIMEType
{
	OF_GETTER(MIMEType, YES)
}
@end

@implementation OFHTTPRequestResult
+ resultWithStatusCode: (short)status
	       headers: (OFDictionary*)headers
		  data: (OFDataArray*)data
{
	return [[[self alloc] initWithStatusCode: status
					 headers: headers
					    data: data] autorelease];
}

- initWithStatusCode: (short)status
	     headers: (OFDictionary*)headers_
		data: (OFDataArray*)data_
{
	self = [super init];

	statusCode = status;
	data = [data_ retain];
	headers = [headers_ copy];