Overview
Comment: | ofhttp: Set _resumedFrom to 0 if statusCode != 206 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
967a498fccd3470d8e888dd210ff69e5 |
User & Date: | js on 2019-03-19 00:32:04 |
Other Links: | manifest | tags |
Context
2019-03-19
| ||
01:04 | ofhttp: Fix --detect-filename check-in: d112a476aa user: js tags: trunk | |
00:32 | ofhttp: Set _resumedFrom to 0 if statusCode != 206 check-in: 967a498fcc user: js tags: trunk | |
2019-03-18
| ||
21:27 | ofhttp: Only print HEAD request for -O with -v check-in: a7872e1065 user: js tags: trunk | |
Changes
Modified utils/ofhttp/OFHTTP.m from [6159de2c20] to [f89010b0ee].
︙ | ︙ | |||
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]; |
︙ | ︙ |