Differences From Artifact [0a2253ded6]:
- File
src/OFHTTPClient.m
— part of check-in
[3a8aa96e16]
at
2023-08-23 15:39:13
on branch trunk
— OFHTTPClient: Don't enable non-blocking mode
This made reading the response synchronously fail. (user: js, size: 31216) [annotate] [blame] [check-ins using] [more...]
To Artifact [e9090ece5a]:
- File src/OFHTTPClient.m — part of check-in [6ebaa2d2f5] at 2023-08-25 14:19:43 on branch trunk — Remove unused variables (user: js, size: 30945) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
383 384 385 386 387 388 389 |
/*
* 303 means the request should be converted to a GET
* request before redirection. This also means stripping
* the entity of the request.
*/
if (_status == 303) {
| < | < < < < < < < | 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
/*
* 303 means the request should be converted to a GET
* request before redirection. This also means stripping
* the entity of the request.
*/
if (_status == 303) {
for (OFString *key in headers)
if ([key hasPrefix: @"Content-"] ||
[key hasPrefix: @"Transfer-"])
[newHeaders
removeObjectForKey: key];
newRequest.method = OFHTTPRequestMethodGet;
}
|
| ︙ | ︙ |