Differences From Artifact [075e25cbdb]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[ba6cb57178]
at
2018-07-03 23:35:08
on branch trunk
— ofhttp: Move around the _URLIndex--
This is to make sure that the same URL is only tried again after we
successfully detected the file name, as otherwise we'd end up in an
infinite loop if we fail to detect the file name. (user: js, size: 26796) [annotate] [blame] [check-ins using]
To Artifact [df6be230a4]:
- File utils/ofhttp/OFHTTP.m — part of check-in [aa0384d1bf] at 2018-07-28 18:45:36 on branch trunk — Rename OFLocalization -> OFLocale (user: js, size: 26778) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
28 29 30 31 32 33 34 | #import "OFHTTPResponse.h" #import "OFOptionsParser.h" #import "OFStdIOStream.h" #import "OFSystemInfo.h" #import "OFTCPSocket.h" #import "OFTLSSocket.h" #import "OFURL.h" | | | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #import "OFHTTPResponse.h" #import "OFOptionsParser.h" #import "OFStdIOStream.h" #import "OFSystemInfo.h" #import "OFTCPSocket.h" #import "OFTLSSocket.h" #import "OFURL.h" #import "OFLocale.h" #import "OFSandbox.h" #import "OFAddressTranslationFailedException.h" #import "OFConnectionFailedException.h" #import "OFHTTPRequestFailedException.h" #import "OFInvalidFormatException.h" #import "OFInvalidServerReplyException.h" |
︙ | ︙ | |||
393 394 395 396 397 398 399 | [OFApplication activateSandbox: sandbox]; } @finally { [sandbox release]; } #endif #ifndef OF_AMIGAOS | | | | 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 | [OFApplication activateSandbox: sandbox]; } @finally { [sandbox release]; } #endif #ifndef OF_AMIGAOS [OFLocale addLanguageDirectory: @LANGUAGE_DIR]; #else [OFLocale addLanguageDirectory: @"PROGDIR:/share/ofhttp/lang"]; #endif optionsParser = [OFOptionsParser parserWithOptions: options]; while ((option = [optionsParser nextOption]) != '\0') { switch (option) { case 'b': [self setBody: [optionsParser argument]]; |
︙ | ︙ |