Differences From Artifact [bdce356a5d]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[bfa913aebe]
at
2015-11-28 18:56:19
on branch trunk
— OFOptionsParser: Reworked API
The new API allows long options and requires less manual parsing. (user: js, size: 19742) [annotate] [blame] [check-ins using]
To Artifact [545bac3fa9]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[ba62f00fac]
at
2015-11-29 14:20:53
on branch trunk
— Clean up optional protocols
Now that we can require GCC >= 4.6, we no longer need to have a category
on OFObject that adds the optional protocol to it. (user: js, size: 19765) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
45 46 47 48 49 50 51 | #import "ProgressBar.h" #define GIBIBYTE (1024 * 1024 * 1024) #define MEBIBYTE (1024 * 1024) #define KIBIBYTE (1024) | | | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
#import "ProgressBar.h"
#define GIBIBYTE (1024 * 1024 * 1024)
#define MEBIBYTE (1024 * 1024)
#define KIBIBYTE (1024)
@interface OFHTTP: OFObject <OFHTTPClientDelegate>
{
OFArray OF_GENERIC(OFString*) *_URLs;
size_t _URLIndex;
int _errorCode;
OFString *_outputPath;
bool _continue, _detectFileName, _quiet, _verbose;
OFDataArray *_body;
|
| ︙ | ︙ |