Differences From Artifact [6159de2c20]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[a7872e1065]
at
2019-03-18 21:27:20
on branch trunk
— ofhttp: Only print HEAD request for -O with -v
This also fixes trying to print the name when it has not been detected
yet. (user: js, size: 26791) [annotate] [blame] [check-ins using]
To Artifact [f89010b0ee]:
- File utils/ofhttp/OFHTTP.m — part of check-in [967a498fcc] at 2019-03-19 00:32:04 on branch trunk — ofhttp: Set _resumedFrom to 0 if statusCode != 206 (user: js, size: 26836) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
709 710 711 712 713 714 715 716 717 718 719 720 721 722 |
}
- (void)client: (OFHTTPClient *)client
didReceiveHeaders: (OFDictionary OF_GENERIC(OFString *, OFString *) *)headers
statusCode: (int)statusCode
request: (OFHTTPRequest *)request
{
if (!_quiet) {
OFString *lengthString =
[headers objectForKey: @"Content-Length"];
OFString *type = [headers objectForKey: @"Content-Type"];
[of_stdout writeFormat: @" ➜ %d\n", statusCode];
| > > > | 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 |
}
- (void)client: (OFHTTPClient *)client
didReceiveHeaders: (OFDictionary OF_GENERIC(OFString *, OFString *) *)headers
statusCode: (int)statusCode
request: (OFHTTPRequest *)request
{
if (statusCode != 206)
_resumedFrom = 0;
if (!_quiet) {
OFString *lengthString =
[headers objectForKey: @"Content-Length"];
OFString *type = [headers objectForKey: @"Content-Type"];
[of_stdout writeFormat: @" ➜ %d\n", statusCode];
|
| ︙ | ︙ |