Differences From Artifact [492c8ebbc8]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[23e57c5040]
at
2017-07-22 23:04:35
on branch trunk
— OFFile: Simplify mode
This removes "b" for binary and always uses binary, as there is no good
reason to not use binary. (user: js, size: 25097) [annotate] [blame] [check-ins using]
To Artifact [511674f2be]:
- File utils/ofhttp/OFHTTP.m — part of check-in [31c0f5b89e] at 2017-10-22 14:09:23 on branch 0.90 — Make Apple GCC with -Wshadow happy (user: js, size: 25122) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
372 373 374 375 376 377 378 | } [self performSelector: @selector(downloadNextURL) afterDelay: 0]; } - (void)client: (OFHTTPClient *)client | | | | | 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 | } [self performSelector: @selector(downloadNextURL) afterDelay: 0]; } - (void)client: (OFHTTPClient *)client didCreateSocket: (OF_KINDOF(OFTCPSocket *))sock request: (OFHTTPRequest *)request { if (_insecure && [sock respondsToSelector: @selector(setCertificateVerificationEnabled:)]) [sock setCertificateVerificationEnabled: false]; } - (bool)client: (OFHTTPClient *)client shouldFollowRedirect: (OFURL *)URL statusCode: (int)statusCode request: (OFHTTPRequest *)request response: (OFHTTPResponse *)response |
︙ | ︙ | |||
830 831 832 833 834 835 836 | } else lengthString = OF_LOCALIZED(@"size_unknown", @"unknown"); if (_verbose) { void *pool = objc_autoreleasePoolPush(); OFDictionary OF_GENERIC(OFString *, OFString *) | | | > | | 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 | } else lengthString = OF_LOCALIZED(@"size_unknown", @"unknown"); if (_verbose) { void *pool = objc_autoreleasePoolPush(); OFDictionary OF_GENERIC(OFString *, OFString *) *responseHeaders = [response headers]; OFEnumerator *keyEnumerator = [responseHeaders keyEnumerator]; OFEnumerator *objectEnumerator = [responseHeaders objectEnumerator]; OFString *key, *object; [of_stdout writeString: @" "]; [of_stdout writeLine: OF_LOCALIZED( @"info_name_unaligned", @"Name: %[name]", @"name", fileName)]; |
︙ | ︙ |