Differences From Artifact [1f66bff7ec]:
- File utils/ofhttp/OFHTTP.m — part of check-in [c8f7b90082] at 2017-07-22 20:50:27 on branch trunk — Split OFDataArray into OFData and OFMutableData (user: js, size: 25099) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
881 882 883 884 885 886 887 | _errorCode = 1; goto next; } @try { OFString *mode = | | | 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 | _errorCode = 1; goto next; } @try { OFString *mode = ([response statusCode] == 206 ? @"a" : @"w"); _output = [[OFFile alloc] initWithPath: fileName mode: mode]; } @catch (OFOpenItemFailedException *e) { [of_stderr writeLine: OF_LOCALIZED(@"failed_to_open_output", @"%[prog]: Failed to open file %[filename]: " @"%[exception]", |
︙ | ︙ |