files.com 1.1.828 → 1.1.829
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/_VERSION +1 -1
- data/doc/Files/APIConnectionError.html +1 -1
- data/doc/Files/APIError.html +1 -1
- data/doc/Files/AccountAlreadyExistsError.html +1 -1
- data/doc/Files/AccountLineItem.html +1 -1
- data/doc/Files/AccountOverdueError.html +1 -1
- data/doc/Files/Action.html +1 -1
- data/doc/Files/ActionLog.html +1 -1
- data/doc/Files/ActionNotificationExport.html +1 -1
- data/doc/Files/ActionNotificationExportResult.html +1 -1
- data/doc/Files/AdditionalAuthenticationRequiredError.html +1 -1
- data/doc/Files/AgentNode.html +1 -1
- data/doc/Files/AgentNodeConnection.html +1 -1
- data/doc/Files/AgentNodeInstance.html +1 -1
- data/doc/Files/AgentPushUpdate.html +1 -1
- data/doc/Files/AgentPushUpdateBlockedError.html +1 -1
- data/doc/Files/AgentUnavailableError.html +1 -1
- data/doc/Files/AgentUpgradeRequiredError.html +1 -1
- data/doc/Files/AiAssistantPersonality.html +1 -1
- data/doc/Files/AiTask.html +1 -1
- data/doc/Files/AiTaskCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AlreadyCompletedError.html +1 -1
- data/doc/Files/Api.html +1 -1
- data/doc/Files/ApiClient/RequestLogContext.html +1 -1
- data/doc/Files/ApiClient/TransferSettings.html +1 -1
- data/doc/Files/ApiClient.html +1 -1
- data/doc/Files/ApiKey.html +1 -1
- data/doc/Files/ApiKeyIsDisabledError.html +1 -1
- data/doc/Files/ApiKeyIsPathRestrictedError.html +1 -1
- data/doc/Files/ApiKeyNotFoundError.html +1 -1
- data/doc/Files/ApiKeyOnlyForDesktopAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForFileOperationsError.html +1 -1
- data/doc/Files/ApiKeyOnlyForMobileAppError.html +1 -1
- data/doc/Files/ApiKeyOnlyForOfficeIntegrationError.html +1 -1
- data/doc/Files/ApiKeySessionsNotSupportedError.html +1 -1
- data/doc/Files/ApiRequestLog.html +1 -1
- data/doc/Files/App.html +1 -1
- data/doc/Files/As2IncomingMessage.html +1 -1
- data/doc/Files/As2OutgoingMessage.html +1 -1
- data/doc/Files/As2Partner.html +1 -1
- data/doc/Files/As2Station.html +1 -1
- data/doc/Files/AttachmentTooLargeError.html +1 -1
- data/doc/Files/AuthenticationError.html +1 -1
- data/doc/Files/AuthenticationRequiredError.html +1 -1
- data/doc/Files/Auto.html +1 -1
- data/doc/Files/Automation.html +1 -1
- data/doc/Files/AutomationAuthoringSchema.html +1 -1
- data/doc/Files/AutomationCannotBeRunManuallyError.html +1 -1
- data/doc/Files/AutomationExecutionNode.html +1 -1
- data/doc/Files/AutomationLog.html +1 -1
- data/doc/Files/AutomationRun.html +1 -1
- data/doc/Files/AutomationsUnavailableError.html +1 -1
- data/doc/Files/BadRequestError.html +1 -1
- data/doc/Files/BandwidthSnapshot.html +1 -1
- data/doc/Files/Behavior.html +1 -1
- data/doc/Files/BehaviorNotAllowedOnRemoteServerError.html +1 -1
- data/doc/Files/BillingInformationHiddenError.html +1 -1
- data/doc/Files/BillingPermissionRequiredError.html +1 -1
- data/doc/Files/BufferedUploadDisabledForThisDestinationError.html +1 -1
- data/doc/Files/Bundle.html +1 -1
- data/doc/Files/BundleAction.html +1 -1
- data/doc/Files/BundleDownload.html +1 -1
- data/doc/Files/BundleMaximumUsesReachedError.html +1 -1
- data/doc/Files/BundleNotification.html +1 -1
- data/doc/Files/BundleOnlyAllowsPreviewsError.html +1 -1
- data/doc/Files/BundleOperationRequiresSubfolderError.html +1 -1
- data/doc/Files/BundlePath.html +1 -1
- data/doc/Files/BundlePathNotFoundError.html +1 -1
- data/doc/Files/BundlePermissionRequiredError.html +1 -1
- data/doc/Files/BundleRecipient.html +1 -1
- data/doc/Files/BundleRegistration.html +1 -1
- data/doc/Files/BundleRegistrationCodeFailedError.html +1 -1
- data/doc/Files/BundleRegistrationNotFoundError.html +1 -1
- data/doc/Files/CannotAdministerHigherLevelUserError.html +1 -1
- data/doc/Files/CannotDownloadDirectoryError.html +1 -1
- data/doc/Files/CannotLoginWhileUsingKeyError.html +1 -1
- data/doc/Files/CantActForOtherUserError.html +1 -1
- data/doc/Files/CantMoveWithMultipleLocationsError.html +1 -1
- data/doc/Files/ChatMessage.html +1 -1
- data/doc/Files/ChatSession.html +1 -1
- data/doc/Files/ChildSiteManagementPolicy.html +1 -1
- data/doc/Files/Clickwrap.html +1 -1
- data/doc/Files/CodeNotFoundError.html +1 -1
- data/doc/Files/ConfigurationLockedPathError.html +1 -1
- data/doc/Files/ContactAdminForPasswordChangeHelpError.html +1 -1
- data/doc/Files/CouldNotCreateParentError.html +1 -1
- data/doc/Files/CustomDomain.html +1 -1
- data/doc/Files/DatetimeParseError.html +1 -1
- data/doc/Files/DesktopConfigurationProfile.html +1 -1
- data/doc/Files/DestinationExistsError.html +1 -1
- data/doc/Files/DestinationFolderLimitedError.html +1 -1
- data/doc/Files/DestinationParentConflictError.html +1 -1
- data/doc/Files/DestinationParentDoesNotExistError.html +1 -1
- data/doc/Files/DestinationSameError.html +1 -1
- data/doc/Files/DestinationSiteMismatchError.html +1 -1
- data/doc/Files/DirectConnectionInfo.html +1 -1
- data/doc/Files/DnsRecord.html +1 -1
- data/doc/Files/DoesNotSupportSortingError.html +1 -1
- data/doc/Files/DuplicateShareRecipientError.html +1 -1
- data/doc/Files/EmailIncomingMessage.html +1 -1
- data/doc/Files/EmailLog.html +1 -1
- data/doc/Files/Error.html +1 -1
- data/doc/Files/Errors.html +1 -1
- data/doc/Files/EventChannel.html +1 -1
- data/doc/Files/EventDeliveryAttempt.html +1 -1
- data/doc/Files/EventRecord.html +1 -1
- data/doc/Files/EventSubscription.html +1 -1
- data/doc/Files/EventTarget.html +1 -1
- data/doc/Files/ExavaultApiRequestLog.html +1 -1
- data/doc/Files/ExceededRuntimeLimitError.html +1 -1
- data/doc/Files/Expectation.html +1 -1
- data/doc/Files/ExpectationAlreadyHasOpenWindowError.html +1 -1
- data/doc/Files/ExpectationEvaluation.html +1 -1
- data/doc/Files/ExpectationIncident.html +1 -1
- data/doc/Files/ExpectationNotManualTriggerError.html +1 -1
- data/doc/Files/ExpiredPrivateKeyError.html +1 -1
- data/doc/Files/ExpiredPublicKeyError.html +1 -1
- data/doc/Files/ExportFailureError.html +1 -1
- data/doc/Files/ExportNotReadyError.html +1 -1
- data/doc/Files/ExternalEvent.html +1 -1
- data/doc/Files/FailedToChangePasswordError.html +1 -1
- data/doc/Files/File.html +1 -1
- data/doc/Files/FileAction.html +1 -1
- data/doc/Files/FileActionError.html +1 -1
- data/doc/Files/FileComment.html +1 -1
- data/doc/Files/FileCommentReaction.html +1 -1
- data/doc/Files/FileLockedError.html +1 -1
- data/doc/Files/FileMigration.html +1 -1
- data/doc/Files/FileMigrationLog.html +1 -1
- data/doc/Files/FileNotFoundError.html +1 -1
- data/doc/Files/FileNotUploadedError.html +1 -1
- data/doc/Files/FilePendingProcessingError.html +1 -1
- data/doc/Files/FileProcessingErrorError.html +1 -1
- data/doc/Files/FileTooBigToDecryptError.html +1 -1
- data/doc/Files/FileTooBigToEncryptError.html +1 -1
- data/doc/Files/FileUploadNotFoundError.html +1 -1
- data/doc/Files/FileUploadPart.html +1 -1
- data/doc/Files/FileUploadedToWrongRegionError.html +1 -1
- data/doc/Files/FileUtils.html +1 -1
- data/doc/Files/FilenameTooLongError.html +1 -1
- data/doc/Files/FilesAgentFailedAuthorizationError.html +1 -1
- data/doc/Files/FilesNativeStorageOverloadedError.html +1 -1
- data/doc/Files/Folder.html +1 -1
- data/doc/Files/FolderAdminOrBillingPermissionRequiredError.html +1 -1
- data/doc/Files/FolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/FolderLockedError.html +1 -1
- data/doc/Files/FolderMustNotBeAFileError.html +1 -1
- data/doc/Files/FolderNotEmptyError.html +1 -1
- data/doc/Files/FoldersNotAllowedError.html +1 -1
- data/doc/Files/FormField.html +1 -1
- data/doc/Files/FormFieldSet.html +1 -1
- data/doc/Files/FtpActionLog.html +1 -1
- data/doc/Files/FullPermissionRequiredError.html +1 -1
- data/doc/Files/GpgKey.html +1 -1
- data/doc/Files/Group.html +1 -1
- data/doc/Files/GroupNotFoundError.html +1 -1
- data/doc/Files/GroupUser.html +1 -1
- data/doc/Files/History.html +1 -1
- data/doc/Files/HistoryExport.html +1 -1
- data/doc/Files/HistoryExportResult.html +1 -1
- data/doc/Files/HistoryPermissionRequiredError.html +1 -1
- data/doc/Files/HistoryUnavailableError.html +1 -1
- data/doc/Files/HolidayCalendar.html +1 -1
- data/doc/Files/HolidayRegion.html +1 -1
- data/doc/Files/Image.html +1 -1
- data/doc/Files/InAppAiAssistantUnavailableError.html +1 -1
- data/doc/Files/InboundS3Log.html +1 -1
- data/doc/Files/InboxNotFoundError.html +1 -1
- data/doc/Files/InboxRecipient.html +1 -1
- data/doc/Files/InboxRegistration.html +1 -1
- data/doc/Files/InboxRegistrationCodeFailedError.html +1 -1
- data/doc/Files/InboxUpload.html +1 -1
- data/doc/Files/InsufficientPermissionForParamsError.html +1 -1
- data/doc/Files/InsufficientPermissionForSiteError.html +1 -1
- data/doc/Files/IntegrationCentricProfile.html +1 -1
- data/doc/Files/InternalGeneralErrorError.html +1 -1
- data/doc/Files/InvalidBodyError.html +1 -1
- data/doc/Files/InvalidBundleCodeError.html +1 -1
- data/doc/Files/InvalidCredentialsError.html +1 -1
- data/doc/Files/InvalidCursorError.html +1 -1
- data/doc/Files/InvalidCursorTypeForSortError.html +1 -1
- data/doc/Files/InvalidEtagsError.html +1 -1
- data/doc/Files/InvalidFileTypeError.html +1 -1
- data/doc/Files/InvalidFilenameError.html +1 -1
- data/doc/Files/InvalidFilterAliasCombinationError.html +1 -1
- data/doc/Files/InvalidFilterFieldError.html +1 -1
- data/doc/Files/InvalidFilterParamError.html +1 -1
- data/doc/Files/InvalidFilterParamFormatError.html +1 -1
- data/doc/Files/InvalidFilterParamValueError.html +1 -1
- data/doc/Files/InvalidInputEncodingError.html +1 -1
- data/doc/Files/InvalidInterfaceError.html +1 -1
- data/doc/Files/InvalidOauthError.html +1 -1
- data/doc/Files/InvalidOauthProviderError.html +1 -1
- data/doc/Files/InvalidOrExpiredCodeError.html +1 -1
- data/doc/Files/InvalidParameterError.html +1 -1
- data/doc/Files/InvalidPathError.html +1 -1
- data/doc/Files/InvalidPriorityColorError.html +1 -1
- data/doc/Files/InvalidRangeError.html +1 -1
- data/doc/Files/InvalidReturnToUrlError.html +1 -1
- data/doc/Files/InvalidSearchQueryError.html +1 -1
- data/doc/Files/InvalidSessionError.html +1 -1
- data/doc/Files/InvalidSiteError.html +1 -1
- data/doc/Files/InvalidSortFieldError.html +1 -1
- data/doc/Files/InvalidSortFilterCombinationError.html +1 -1
- data/doc/Files/InvalidUploadOffsetError.html +1 -1
- data/doc/Files/InvalidUploadPartGapError.html +1 -1
- data/doc/Files/InvalidUploadPartSizeError.html +1 -1
- data/doc/Files/InvalidUsernameOrPasswordError.html +1 -1
- data/doc/Files/InvalidWorkspaceIdHeaderError.html +1 -1
- data/doc/Files/InvalidZipFileError.html +1 -1
- data/doc/Files/Invoice.html +1 -1
- data/doc/Files/InvoiceLineItem.html +1 -1
- data/doc/Files/IpAddress.html +1 -1
- data/doc/Files/KeyLifecycleRule.html +1 -1
- data/doc/Files/List.html +1 -1
- data/doc/Files/Lock.html +1 -1
- data/doc/Files/LockOperationBusyError.html +1 -1
- data/doc/Files/LockedOutError.html +1 -1
- data/doc/Files/LockoutRegionMismatchError.html +1 -1
- data/doc/Files/MetadataCategory.html +1 -1
- data/doc/Files/MetadataNotSupportedOnRemotesError.html +1 -1
- data/doc/Files/MethodNotAllowedError.html +1 -1
- data/doc/Files/MigrationInProgressError.html +1 -1
- data/doc/Files/MissingParameterError.html +1 -1
- data/doc/Files/ModelSaveErrorError.html +1 -1
- data/doc/Files/MoverAccessDeniedError.html +1 -1
- data/doc/Files/MoverPackageRequiredError.html +1 -1
- data/doc/Files/MultipleProcessingErrorsError.html +1 -1
- data/doc/Files/MultipleSortParamsNotAllowedError.html +1 -1
- data/doc/Files/MustAuthenticateWithApiKeyError.html +1 -1
- data/doc/Files/NeedAdminPermissionForInboxError.html +1 -1
- data/doc/Files/NestedNotFoundError.html +1 -1
- data/doc/Files/NoAccountForSiteError.html +1 -1
- data/doc/Files/NoValidInputParamsError.html +1 -1
- data/doc/Files/NonAdminsMustQueryByFolderOrPathError.html +1 -1
- data/doc/Files/NotAllowedToCreateBundleError.html +1 -1
- data/doc/Files/NotAuthenticatedError.html +1 -1
- data/doc/Files/NotAuthorizedError.html +1 -1
- data/doc/Files/NotEnqueuableSyncError.html +1 -1
- data/doc/Files/NotFoundError.html +1 -1
- data/doc/Files/NotImplementedError.html +1 -1
- data/doc/Files/Notification.html +1 -1
- data/doc/Files/OffsetUploadNotAllowedWithMalwareScanningError.html +1 -1
- data/doc/Files/OneTimePasswordIncorrectError.html +1 -1
- data/doc/Files/OutboundConnectionLog.html +1 -1
- data/doc/Files/PartNumberTooLargeError.html +1 -1
- data/doc/Files/Partner.html +1 -1
- data/doc/Files/PartnerChannel.html +1 -1
- data/doc/Files/PartnerChannelTemplate.html +1 -1
- data/doc/Files/PartnerConnection.html +1 -1
- data/doc/Files/PartnerSite.html +1 -1
- data/doc/Files/PartnerSiteRequest.html +1 -1
- data/doc/Files/PasswordChangeNotRequiredError.html +1 -1
- data/doc/Files/PasswordChangeRequiredError.html +1 -1
- data/doc/Files/PathCannotHaveTrailingWhitespaceError.html +1 -1
- data/doc/Files/PathTooLongError.html +1 -1
- data/doc/Files/PathUtil.html +1 -1
- data/doc/Files/Payment.html +1 -1
- data/doc/Files/PaymentLineItem.html +1 -1
- data/doc/Files/PaymentMethodErrorError.html +1 -1
- data/doc/Files/PendingWorkEvent.html +1 -1
- data/doc/Files/Permission.html +1 -1
- data/doc/Files/PlanNotFoundError.html +1 -1
- data/doc/Files/Preview.html +1 -1
- data/doc/Files/PreviewOnlyPermissionCannotDownloadError.html +1 -1
- data/doc/Files/ProcessingFailureError.html +1 -1
- data/doc/Files/PublicHostingRequestLog.html +1 -1
- data/doc/Files/PublicIpAddress.html +1 -1
- data/doc/Files/PublicKey.html +1 -1
- data/doc/Files/RateLimitedError.html +1 -1
- data/doc/Files/ReadOnlySessionError.html +1 -1
- data/doc/Files/ReadPermissionRequiredError.html +1 -1
- data/doc/Files/ReauthenticationFailedError.html +1 -1
- data/doc/Files/ReauthenticationFailedFinalError.html +1 -1
- data/doc/Files/ReauthenticationNeededActionError.html +1 -1
- data/doc/Files/ReauthenticationNeededFieldsError.html +1 -1
- data/doc/Files/ReauthenticationRateLimitedError.html +1 -1
- data/doc/Files/RecaptchaFailedError.html +1 -1
- data/doc/Files/RecipientAlreadySharedError.html +1 -1
- data/doc/Files/RemoteBandwidthSnapshot.html +1 -1
- data/doc/Files/RemoteDesktopDebugLoggingDisabledError.html +1 -1
- data/doc/Files/RemoteEntryReadOnlyError.html +1 -1
- data/doc/Files/RemoteMountBackend.html +1 -1
- data/doc/Files/RemoteServer.html +1 -1
- data/doc/Files/RemoteServerConfigurationFile.html +1 -1
- data/doc/Files/RemoteServerCredential.html +1 -1
- data/doc/Files/RemoteServerErrorError.html +1 -1
- data/doc/Files/Request.html +1 -1
- data/doc/Files/RequestBodyTooLargeError.html +1 -1
- data/doc/Files/RequestParamsContainInvalidCharacterError.html +1 -1
- data/doc/Files/RequestParamsInvalidError.html +1 -1
- data/doc/Files/RequestParamsRequiredError.html +1 -1
- data/doc/Files/ResourceBelongsToParentSiteError.html +1 -1
- data/doc/Files/ResourceLockedError.html +1 -1
- data/doc/Files/Response.html +1 -1
- data/doc/Files/Restore.html +1 -1
- data/doc/Files/RootFolderBehaviorSiteAdminRequiredError.html +1 -1
- data/doc/Files/RootFolderBehaviorSkipSiteAdminRequiredError.html +1 -1
- data/doc/Files/Schedule.html +1 -1
- data/doc/Files/ScheduledExport.html +1 -1
- data/doc/Files/ScimLog.html +1 -1
- data/doc/Files/SearchAllOnChildPathError.html +1 -1
- data/doc/Files/SearchUnavailableError.html +1 -1
- data/doc/Files/Secret.html +1 -1
- data/doc/Files/SelfManagedRequiredError.html +1 -1
- data/doc/Files/ServiceUnavailableError.html +1 -1
- data/doc/Files/Session.html +1 -1
- data/doc/Files/SettingsChange.html +1 -1
- data/doc/Files/SftpActionLog.html +1 -1
- data/doc/Files/SftpHostKey.html +1 -1
- data/doc/Files/ShareGroup.html +1 -1
- data/doc/Files/ShareGroupMember.html +1 -1
- data/doc/Files/SiemHttpDestination.html +1 -1
- data/doc/Files/SiemHttpDestinationEvent.html +1 -1
- data/doc/Files/Site.html +1 -1
- data/doc/Files/SiteAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminOrFolderAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminOrPartnerAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminOrWorkspaceAdminPermissionRequiredError.html +1 -1
- data/doc/Files/SiteAdminRequiredError.html +1 -1
- data/doc/Files/SiteConfigurationError.html +1 -1
- data/doc/Files/SiteDisabledError.html +1 -1
- data/doc/Files/SiteFilesAreImmutableError.html +1 -1
- data/doc/Files/SiteNotFoundError.html +1 -1
- data/doc/Files/SiteSubdomainRedirect.html +1 -1
- data/doc/Files/SiteWasRemovedError.html +1 -1
- data/doc/Files/SizableIO.html +1 -1
- data/doc/Files/Snapshot.html +1 -1
- data/doc/Files/SsoEvent.html +1 -1
- data/doc/Files/SsoStrategy.html +1 -1
- data/doc/Files/Status.html +1 -1
- data/doc/Files/Style.html +1 -1
- data/doc/Files/SubfolderLockedError.html +1 -1
- data/doc/Files/Sync.html +1 -1
- data/doc/Files/SyncInProgressError.html +1 -1
- data/doc/Files/SyncLog.html +1 -1
- data/doc/Files/SyncRun.html +1 -1
- data/doc/Files/SyncRunLiveTransfer.html +1 -1
- data/doc/Files/SystemProfiler.html +1 -1
- data/doc/Files/TooManyConcurrentLoginsError.html +1 -1
- data/doc/Files/TooManyConcurrentRequestsError.html +1 -1
- data/doc/Files/TooManyLoginAttemptsError.html +1 -1
- data/doc/Files/TooManyRequestsError.html +1 -1
- data/doc/Files/TooManySharesError.html +1 -1
- data/doc/Files/Transfer/Attempts.html +1 -1
- data/doc/Files/Transfer/BufferLimitError.html +1 -1
- data/doc/Files/Transfer/ByteBudget/Reservation.html +1 -1
- data/doc/Files/Transfer/ByteBudget.html +1 -1
- data/doc/Files/Transfer/CancelledError.html +1 -1
- data/doc/Files/Transfer/Checkpoint.html +1 -1
- data/doc/Files/Transfer/CheckpointError.html +1 -1
- data/doc/Files/Transfer/ClientTransport/ClientResponse.html +36 -36
- data/doc/Files/Transfer/ClientTransport/Reader.html +33 -29
- data/doc/Files/Transfer/ClientTransport.html +34 -34
- data/doc/Files/Transfer/Clock.html +1 -1
- data/doc/Files/Transfer/Control.html +1 -1
- data/doc/Files/Transfer/Controller/Attempt.html +1 -1
- data/doc/Files/Transfer/Controller.html +1 -1
- data/doc/Files/Transfer/Coordinator/Timing.html +1 -1
- data/doc/Files/Transfer/Coordinator.html +1 -1
- data/doc/Files/Transfer/DownloadCoordinator/FileSink.html +134 -60
- data/doc/Files/Transfer/DownloadCoordinator/IoSink.html +152 -77
- data/doc/Files/Transfer/DownloadCoordinator/Piece.html +37 -37
- data/doc/Files/Transfer/DownloadCoordinator.html +73 -60
- data/doc/Files/Transfer/DownloadDate.html +1 -1
- data/doc/Files/Transfer/FileSlots.html +1 -1
- data/doc/Files/Transfer/FrontendResponseError.html +1 -1
- data/doc/Files/Transfer/Holds.html +1 -1
- data/doc/Files/Transfer/HttpTransport.html +13 -12
- data/doc/Files/Transfer/Job.html +1 -1
- data/doc/Files/Transfer/Options.html +1 -1
- data/doc/Files/Transfer/PausedError.html +1 -1
- data/doc/Files/Transfer/Policy.html +1 -1
- data/doc/Files/Transfer/RequestPermits.html +1 -1
- data/doc/Files/Transfer/SourceChangedError.html +1 -1
- data/doc/Files/Transfer/StorageResponse.html +1 -1
- data/doc/Files/Transfer/StorageRetry.html +259 -102
- data/doc/Files/Transfer/UploadCoordinator/Grant.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Part.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Region.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Segments.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/Source.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator/StreamSource.html +1 -1
- data/doc/Files/Transfer/UploadCoordinator.html +1 -1
- data/doc/Files/Transfer/UploadPlan.html +1 -1
- data/doc/Files/Transfer/UrlExpired.html +1 -1
- data/doc/Files/Transfer/VersionChangedError.html +1 -1
- data/doc/Files/Transfer.html +1 -1
- data/doc/Files/TrialExpiredError.html +1 -1
- data/doc/Files/TrialLockedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCodeAlreadySentError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationCountryBlacklistedError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationGeneralErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationMethodUnsupportedErrorError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationRequiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationSetupExpiredError.html +1 -1
- data/doc/Files/TwoFactorAuthenticationUnsubscribedRecipientError.html +1 -1
- data/doc/Files/URI.html +1 -1
- data/doc/Files/UnrecognizedSortIndexError.html +1 -1
- data/doc/Files/UnsupportedCurrencyError.html +1 -1
- data/doc/Files/UnsupportedHttpResponseFormatError.html +1 -1
- data/doc/Files/UnsupportedMediaTypeError.html +1 -1
- data/doc/Files/UpdatesNotAllowedForRemotesError.html +1 -1
- data/doc/Files/UploadFinalization.html +1 -1
- data/doc/Files/UploadsUnavailableError.html +1 -1
- data/doc/Files/UsageByTopLevelDir.html +1 -1
- data/doc/Files/UsageDailySnapshot.html +1 -1
- data/doc/Files/UsageSnapshot.html +1 -1
- data/doc/Files/User.html +1 -1
- data/doc/Files/UserAdditionalEmailRecipient.html +1 -1
- data/doc/Files/UserCipherUse.html +1 -1
- data/doc/Files/UserIdInvalidError.html +1 -1
- data/doc/Files/UserIdOnUserEndpointError.html +1 -1
- data/doc/Files/UserIdWithoutSiteAdminError.html +1 -1
- data/doc/Files/UserLifecycleRule.html +1 -1
- data/doc/Files/UserNotFoundError.html +1 -1
- data/doc/Files/UserRequest.html +1 -1
- data/doc/Files/UserRequestsEnabledRequiredError.html +1 -1
- data/doc/Files/UserRequiredError.html +1 -1
- data/doc/Files/UserSecurityEvent.html +1 -1
- data/doc/Files/UserSftpClientUse.html +1 -1
- data/doc/Files/Util/LogSettings.html +1 -1
- data/doc/Files/Util.html +1 -1
- data/doc/Files/WebDavActionLog.html +1 -1
- data/doc/Files/WebhookTest.html +1 -1
- data/doc/Files/Workspace.html +1 -1
- data/doc/Files/WriteAndBundlePermissionRequiredError.html +1 -1
- data/doc/Files/WritePermissionRequiredError.html +1 -1
- data/doc/Files/ZipListEntry.html +1 -1
- data/doc/Files.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +2 -2
- data/doc/index.html +2 -2
- data/doc/method_list.html +2985 -2953
- data/doc/top-level-namespace.html +1 -1
- data/docs/file.md +21 -5
- data/lib/files.com/transfer/download_coordinator.rb +93 -11
- data/lib/files.com/transfer/http_transport.rb +14 -9
- data/lib/files.com/transfer/storage_retry.rb +22 -4
- data/spec/models/native_file_spec.rb +4 -2
- data/spec/transfer/adaptive_download_spec.rb +219 -3
- metadata +1 -1
|
@@ -116,8 +116,14 @@ ClientTransport); a client whose adapter cannot stream is refused before anythin
|
|
|
116
116
|
caller's thread it first asks for the opening range (8 MiB, or a quarter of buffer_bytes when that is less) with
|
|
117
117
|
Accept-Encoding: identity. A 206 with a strong ETag and an exact Content-Range and Content-Length binds the
|
|
118
118
|
download to that version: every later range is requested with If-Match and must come back as a 206 with the
|
|
119
|
-
exact Content-Range, total, length and ETag, and a 412, or a whole response with any other ETag,
|
|
120
|
-
VersionChangedError before anything of it is written
|
|
119
|
+
exact Content-Range, total, length and ETag, and a 412, or a whole response with any other ETag, ends the attempt
|
|
120
|
+
with VersionChangedError before anything of it is written, as do a newer Last-Modified (DownloadDate) and storage's
|
|
121
|
+
409 download_source_changed (StorageRetry.source_changed_response?). Once the requests that attempt has in flight
|
|
122
|
+
have settled, a range still arriving stopping at its next chunk (stop_obsolete_read), a local file (download_file) starts over from its first byte, with a URL the API gives anew and the
|
|
123
|
+
size, version and date storage answers it with, dropping every byte and claim of the attempt before; an IO does
|
|
124
|
+
only while nothing has been written to it. Each restart is one of Files.max_network_retries, counted however far
|
|
125
|
+
the attempt got, so a file that keeps changing fails; none is made once they are spent, or after a cancellation or
|
|
126
|
+
pause came first. Ranges complete in any order, each read straight into one
|
|
121
127
|
String of its length, wait in memory within buffer_bytes, and are written to the destination in order on the
|
|
122
128
|
caller's thread, which progress, when given, is then called on. A range is on the network, for its controller,
|
|
123
129
|
until its whole body has arrived and been checked. Every request, the opening one and a proof included, waits
|
|
@@ -176,6 +182,11 @@ IO, as without transfer:; other failures leave it open, holding what was written
|
|
|
176
182
|
</dt>
|
|
177
183
|
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>The download URL the API returned has expired, and renewing it did not give one still valid</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
178
184
|
|
|
185
|
+
<dt id="SOURCE_CHANGED-constant" class="">SOURCE_CHANGED =
|
|
186
|
+
|
|
187
|
+
</dt>
|
|
188
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>The remote file changed during the download: storage answered 409 download_source_changed</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
189
|
+
|
|
179
190
|
<dt id="VERIFY_CHUNK_BYTES-constant" class="">VERIFY_CHUNK_BYTES =
|
|
180
191
|
<div class="docstring">
|
|
181
192
|
<div class="discussion">
|
|
@@ -400,24 +411,6 @@ options, and the transport for its content requests, which refuses a client whos
|
|
|
400
411
|
<pre class="lines">
|
|
401
412
|
|
|
402
413
|
|
|
403
|
-
308
|
|
404
|
-
309
|
|
405
|
-
310
|
|
406
|
-
311
|
|
407
|
-
312
|
|
408
|
-
313
|
|
409
|
-
314
|
|
410
|
-
315
|
|
411
|
-
316
|
|
412
|
-
317
|
|
413
|
-
318
|
|
414
|
-
319
|
|
415
|
-
320
|
|
416
|
-
321
|
|
417
|
-
322
|
|
418
|
-
323
|
|
419
|
-
324
|
|
420
|
-
325
|
|
421
414
|
326
|
|
422
415
|
327
|
|
423
416
|
328
|
|
@@ -431,10 +424,29 @@ options, and the transport for its content requests, which refuses a client whos
|
|
|
431
424
|
336
|
|
432
425
|
337
|
|
433
426
|
338
|
|
434
|
-
339
|
|
427
|
+
339
|
|
428
|
+
340
|
|
429
|
+
341
|
|
430
|
+
342
|
|
431
|
+
343
|
|
432
|
+
344
|
|
433
|
+
345
|
|
434
|
+
346
|
|
435
|
+
347
|
|
436
|
+
348
|
|
437
|
+
349
|
|
438
|
+
350
|
|
439
|
+
351
|
|
440
|
+
352
|
|
441
|
+
353
|
|
442
|
+
354
|
|
443
|
+
355
|
|
444
|
+
356
|
|
445
|
+
357
|
|
446
|
+
358</pre>
|
|
435
447
|
</td>
|
|
436
448
|
<td>
|
|
437
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
449
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 326</span>
|
|
438
450
|
|
|
439
451
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_job'>job</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_open_sink'>open_sink</span><span class='comma'>,</span> <span class='label'>checkpoint:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>lease:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>progress:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>check_download_modification_time:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
440
452
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_job'>job</span><span class='rparen'>)</span>
|
|
@@ -453,7 +465,8 @@ options, and the transport for its content requests, which refuses a client whos
|
|
|
453
465
|
<span class='ivar'>@digest</span> <span class='op'>=</span> <span class='const'>OpenSSL</span><span class='op'>::</span><span class='const'>Digest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>SHA256</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
454
466
|
<span class='ivar'>@total</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
455
467
|
<span class='ivar'>@version</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
|
456
|
-
<span class='ivar'>@
|
|
468
|
+
<span class='ivar'>@check_dates</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="DownloadDate.html" title="Files::Transfer::DownloadDate (class)">DownloadDate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_enabled'><span class='object_link'><a href="DownloadDate.html#enabled-class_method" title="Files::Transfer::DownloadDate.enabled (method)">enabled</a></span></span><span class='lparen'>(</span><span class='ivar'>@options</span><span class='comma'>,</span> <span class='id identifier rubyid_check_download_modification_time'>check_download_modification_time</span><span class='rparen'>)</span>
|
|
469
|
+
<span class='ivar'>@download_date</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="DownloadDate.html" title="Files::Transfer::DownloadDate (class)">DownloadDate</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="DownloadDate.html#initialize-instance_method" title="Files::Transfer::DownloadDate#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>enabled:</span> <span class='ivar'>@check_dates</span><span class='rparen'>)</span>
|
|
457
470
|
<span class='ivar'>@generation</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
458
471
|
<span class='ivar'>@open</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
459
472
|
<span class='ivar'>@next_number</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
@@ -505,23 +518,23 @@ when io ends before them.</p>
|
|
|
505
518
|
<pre class="lines">
|
|
506
519
|
|
|
507
520
|
|
|
508
|
-
53
|
|
509
|
-
54
|
|
510
|
-
55
|
|
511
|
-
56
|
|
512
|
-
57
|
|
513
|
-
58
|
|
514
|
-
59
|
|
515
521
|
60
|
|
516
522
|
61
|
|
517
523
|
62
|
|
518
524
|
63
|
|
519
525
|
64
|
|
520
526
|
65
|
|
521
|
-
66
|
|
527
|
+
66
|
|
528
|
+
67
|
|
529
|
+
68
|
|
530
|
+
69
|
|
531
|
+
70
|
|
532
|
+
71
|
|
533
|
+
72
|
|
534
|
+
73</pre>
|
|
522
535
|
</td>
|
|
523
536
|
<td>
|
|
524
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
537
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 60</span>
|
|
525
538
|
|
|
526
539
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_digest_of'>digest_of</span><span class='lparen'>(</span><span class='id identifier rubyid_io'>io</span><span class='comma'>,</span> <span class='id identifier rubyid_bytes'>bytes</span><span class='comma'>,</span> <span class='id identifier rubyid_chunk'>chunk</span><span class='rparen'>)</span>
|
|
527
540
|
<span class='id identifier rubyid_digest'>digest</span> <span class='op'>=</span> <span class='const'>OpenSSL</span><span class='op'>::</span><span class='const'>Digest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>SHA256</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
|
|
@@ -557,12 +570,12 @@ when io ends before them.</p>
|
|
|
557
570
|
<pre class="lines">
|
|
558
571
|
|
|
559
572
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
573
|
+
305
|
|
574
|
+
306
|
|
575
|
+
307</pre>
|
|
563
576
|
</td>
|
|
564
577
|
<td>
|
|
565
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
578
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 305</span>
|
|
566
579
|
|
|
567
580
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_download_content'>download_content</span><span class='lparen'>(</span><span class='id identifier rubyid_job'>job</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_io'>io</span><span class='comma'>,</span> <span class='label'>progress:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>check_download_modification_time:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
568
581
|
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_job'>job</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='tlambda'>-></span> <span class='tlambeg'>{</span> <span class='const'><span class='object_link'><a href="DownloadCoordinator/IoSink.html" title="Files::Transfer::DownloadCoordinator::IoSink (class)">IoSink</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="DownloadCoordinator/IoSink.html#initialize-instance_method" title="Files::Transfer::DownloadCoordinator::IoSink#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_io'>io</span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='label'>progress:</span> <span class='id identifier rubyid_progress'>progress</span><span class='comma'>,</span> <span class='label'>check_download_modification_time:</span> <span class='id identifier rubyid_check_download_modification_time'>check_download_modification_time</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
|
|
@@ -596,12 +609,12 @@ when io ends before them.</p>
|
|
|
596
609
|
<pre class="lines">
|
|
597
610
|
|
|
598
611
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
612
|
+
301
|
|
613
|
+
302
|
|
614
|
+
303</pre>
|
|
602
615
|
</td>
|
|
603
616
|
<td>
|
|
604
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
617
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 301</span>
|
|
605
618
|
|
|
606
619
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_download_file'>download_file</span><span class='lparen'>(</span><span class='id identifier rubyid_job'>job</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='id identifier rubyid_local_path'>local_path</span><span class='comma'>,</span> <span class='label'>progress:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>check_download_modification_time:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
607
620
|
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_job'>job</span><span class='comma'>,</span> <span class='id identifier rubyid_file'>file</span><span class='comma'>,</span> <span class='tlambda'>-></span> <span class='tlambeg'>{</span> <span class='const'><span class='object_link'><a href="DownloadCoordinator/FileSink.html" title="Files::Transfer::DownloadCoordinator::FileSink (class)">FileSink</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="DownloadCoordinator/FileSink.html#initialize-instance_method" title="Files::Transfer::DownloadCoordinator::FileSink#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='id identifier rubyid_local_path'>local_path</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>wb</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_local_path'>local_path</span><span class='rparen'>)</span> <span class='rbrace'>}</span><span class='comma'>,</span> <span class='label'>progress:</span> <span class='id identifier rubyid_progress'>progress</span><span class='comma'>,</span> <span class='label'>check_download_modification_time:</span> <span class='id identifier rubyid_check_download_modification_time'>check_download_modification_time</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
|
|
@@ -626,23 +639,23 @@ when io ends before them.</p>
|
|
|
626
639
|
<pre class="lines">
|
|
627
640
|
|
|
628
641
|
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
642
|
+
309
|
|
643
|
+
310
|
|
644
|
+
311
|
|
645
|
+
312
|
|
646
|
+
313
|
|
647
|
+
314
|
|
648
|
+
315
|
|
649
|
+
316
|
|
650
|
+
317
|
|
651
|
+
318
|
|
652
|
+
319
|
|
653
|
+
320
|
|
654
|
+
321
|
|
655
|
+
322</pre>
|
|
643
656
|
</td>
|
|
644
657
|
<td>
|
|
645
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
658
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 309</span>
|
|
646
659
|
|
|
647
660
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_resume'>resume</span><span class='lparen'>(</span><span class='id identifier rubyid_job'>job</span><span class='comma'>,</span> <span class='id identifier rubyid_checkpoint'>checkpoint</span><span class='comma'>,</span> <span class='id identifier rubyid_destination'>destination</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='label'>progress:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
648
661
|
<span class='id identifier rubyid_checkpoint'>checkpoint</span><span class='period'>.</span><span class='id identifier rubyid_resuming'>resuming</span><span class='lparen'>(</span><span class='symbol'>:download</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_lease'>lease</span><span class='op'>|</span>
|
|
@@ -700,12 +713,12 @@ when io ends before them.</p>
|
|
|
700
713
|
<pre class="lines">
|
|
701
714
|
|
|
702
715
|
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
716
|
+
76
|
|
717
|
+
77
|
|
718
|
+
78</pre>
|
|
706
719
|
</td>
|
|
707
720
|
<td>
|
|
708
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line
|
|
721
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/download_coordinator.rb', line 76</span>
|
|
709
722
|
|
|
710
723
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_takes_buffer?'>takes_buffer?</span><span class='lparen'>(</span><span class='id identifier rubyid_io'>io</span><span class='rparen'>)</span>
|
|
711
724
|
<span class='id identifier rubyid_io'>io</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>IO</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_io'>io</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>StringIO</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='kw'>defined?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Tempfile</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_io'>io</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Tempfile</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
@@ -720,7 +733,7 @@ when io ends before them.</p>
|
|
|
720
733
|
</div>
|
|
721
734
|
|
|
722
735
|
<div id="footer">
|
|
723
|
-
Generated on
|
|
736
|
+
Generated on Sat Nov 14 22:52:46 2026 by
|
|
724
737
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
725
738
|
0.9.45 (ruby-4.0.9).
|
|
726
739
|
</div>
|
|
@@ -457,7 +457,7 @@ stays compatible. HTTP-date has one-second precision; an earlier or equal date p
|
|
|
457
457
|
</div>
|
|
458
458
|
|
|
459
459
|
<div id="footer">
|
|
460
|
-
Generated on
|
|
460
|
+
Generated on Sat Nov 14 22:52:42 2026 by
|
|
461
461
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
462
462
|
0.9.45 (ruby-4.0.9).
|
|
463
463
|
</div>
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
</div>
|
|
471
471
|
|
|
472
472
|
<div id="footer">
|
|
473
|
-
Generated on
|
|
473
|
+
Generated on Sat Nov 14 22:52:32 2026 by
|
|
474
474
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
475
475
|
0.9.45 (ruby-4.0.9).
|
|
476
476
|
</div>
|
|
@@ -225,7 +225,7 @@ it is written.</p>
|
|
|
225
225
|
</div>
|
|
226
226
|
|
|
227
227
|
<div id="footer">
|
|
228
|
-
Generated on
|
|
228
|
+
Generated on Sat Nov 14 22:52:31 2026 by
|
|
229
229
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
230
230
|
0.9.45 (ruby-4.0.9).
|
|
231
231
|
</div>
|
|
@@ -495,7 +495,7 @@ destination is an origin: its scheme, host and port. Its methods run under the j
|
|
|
495
495
|
</div>
|
|
496
496
|
|
|
497
497
|
<div id="footer">
|
|
498
|
-
Generated on
|
|
498
|
+
Generated on Sat Nov 14 22:52:32 2026 by
|
|
499
499
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
500
500
|
0.9.45 (ruby-4.0.9).
|
|
501
501
|
</div>
|
|
@@ -227,7 +227,7 @@ credentials: a signed URL is its own authority.</p>
|
|
|
227
227
|
<li class="public ">
|
|
228
228
|
<span class="summary_signature">
|
|
229
229
|
|
|
230
|
-
<a href="#perform-instance_method" title="#perform (instance method)">#<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, &on_success) ⇒ Object </a>
|
|
230
|
+
<a href="#perform-instance_method" title="#perform (instance method)">#<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, on_error_chunk: nil, &on_success) ⇒ Object </a>
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
|
|
@@ -344,13 +344,13 @@ credentials: a signed URL is its own authority.</p>
|
|
|
344
344
|
<pre class="lines">
|
|
345
345
|
|
|
346
346
|
|
|
347
|
-
82
|
|
348
347
|
83
|
|
349
348
|
84
|
|
350
|
-
85
|
|
349
|
+
85
|
|
350
|
+
86</pre>
|
|
351
351
|
</td>
|
|
352
352
|
<td>
|
|
353
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
353
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 83</span>
|
|
354
354
|
|
|
355
355
|
<span class='kw'>def</span> <span class='id identifier rubyid_close_all'>close_all</span><span class='lparen'>(</span><span class='id identifier rubyid_connections'>connections</span><span class='rparen'>)</span>
|
|
356
356
|
<span class='id identifier rubyid_connections'>connections</span><span class='period'>.</span><span class='id identifier rubyid_each_value'>each_value</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_http'>http</span><span class='op'>|</span> <span class='id identifier rubyid_finish'>finish</span><span class='lparen'>(</span><span class='id identifier rubyid_http'>http</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
|
@@ -426,7 +426,7 @@ through ClientTransport.</p>
|
|
|
426
426
|
<div class="method_details ">
|
|
427
427
|
<h3 class="signature " id="perform-instance_method">
|
|
428
428
|
|
|
429
|
-
#<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, &on_success) ⇒ <tt>Object</tt>
|
|
429
|
+
#<strong>perform</strong>(method, url, headers, connections, body: nil, length: nil, timing: nil, on_error_chunk: nil, &on_success) ⇒ <tt>Object</tt>
|
|
430
430
|
|
|
431
431
|
|
|
432
432
|
|
|
@@ -440,7 +440,8 @@ without holding them. With a block, a 2xx response is passed to it with its body
|
|
|
440
440
|
the response's body; the block reads it as it arrives. An error from the block is raised as it is, unless it is a
|
|
441
441
|
network error, which is raised, as one before the response, as a NetworkFailure. timing, when given, is told as
|
|
442
442
|
the send starts (connection setup included), as the response headers arrive, and once the block, or the read of
|
|
443
|
-
any other response's body, has finished
|
|
443
|
+
any other response's body, has finished. on_error_chunk, when given, is called as each chunk of any other
|
|
444
|
+
response's body arrives, before it is kept; what it raises ends the request there, closing its connection.</p>
|
|
444
445
|
|
|
445
446
|
</div>
|
|
446
447
|
</div>
|
|
@@ -453,7 +454,6 @@ any other response's body, has finished.</p>
|
|
|
453
454
|
<pre class="lines">
|
|
454
455
|
|
|
455
456
|
|
|
456
|
-
56
|
|
457
457
|
57
|
|
458
458
|
58
|
|
459
459
|
59
|
|
@@ -477,12 +477,13 @@ any other response's body, has finished.</p>
|
|
|
477
477
|
77
|
|
478
478
|
78
|
|
479
479
|
79
|
|
480
|
-
80
|
|
480
|
+
80
|
|
481
|
+
81</pre>
|
|
481
482
|
</td>
|
|
482
483
|
<td>
|
|
483
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line
|
|
484
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/http_transport.rb', line 57</span>
|
|
484
485
|
|
|
485
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_perform'>perform</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_connections'>connections</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>length:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timing:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_on_success'>on_success</span><span class='rparen'>)</span>
|
|
486
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_perform'>perform</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_connections'>connections</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>length:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>timing:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>on_error_chunk:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_on_success'>on_success</span><span class='rparen'>)</span>
|
|
486
487
|
<span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='rparen'>)</span>
|
|
487
488
|
<span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTPGenericRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_upcase'>upcase</span><span class='comma'>,</span> <span class='op'>!</span><span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span><span class='comma'>,</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
488
489
|
<span class='kw'>if</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>String</span><span class='rparen'>)</span>
|
|
@@ -495,7 +496,7 @@ any other response's body, has finished.</p>
|
|
|
495
496
|
<span class='id identifier rubyid_timing'>timing</span><span class='op'>&.</span><span class='id identifier rubyid_sending'>sending</span>
|
|
496
497
|
<span class='id identifier rubyid_connection'>connection</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='comma'>,</span> <span class='id identifier rubyid_connections'>connections</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_request'>request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_response'>response</span><span class='op'>|</span>
|
|
497
498
|
<span class='id identifier rubyid_timing'>timing</span><span class='op'>&.</span><span class='id identifier rubyid_headers'>headers</span>
|
|
498
|
-
<span class='id identifier rubyid_kept'>kept</span><span class='comma'>,</span> <span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>=</span> <span class='id identifier rubyid_on_success'>on_success</span> <span class='op'>&&</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTPSuccess</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_on_success'>on_success</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>false</span> <span class='rbracket'>]</span> <span class='op'>:</span> <span class='id identifier rubyid_limited_body'>limited_body</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span>
|
|
499
|
+
<span class='id identifier rubyid_kept'>kept</span><span class='comma'>,</span> <span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>=</span> <span class='id identifier rubyid_on_success'>on_success</span> <span class='op'>&&</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTPSuccess</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_on_success'>on_success</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>false</span> <span class='rbracket'>]</span> <span class='op'>:</span> <span class='id identifier rubyid_limited_body'>limited_body</span><span class='lparen'>(</span><span class='id identifier rubyid_response'>response</span><span class='comma'>,</span> <span class='id identifier rubyid_on_error_chunk'>on_error_chunk</span><span class='rparen'>)</span>
|
|
499
500
|
<span class='id identifier rubyid_timing'>timing</span><span class='op'>&.</span><span class='id identifier rubyid_body'>body</span>
|
|
500
501
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="StorageResponse.html" title="Files::Transfer::StorageResponse (class)">StorageResponse</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>status:</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_code'>code</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span><span class='comma'>,</span> <span class='label'>headers:</span> <span class='id identifier rubyid_response'>response</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span><span class='comma'>,</span> <span class='label'>body:</span> <span class='id identifier rubyid_kept'>kept</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='id identifier rubyid_truncated'>truncated</span><span class='rparen'>)</span>
|
|
501
502
|
<span class='kw'>end</span>
|
|
@@ -569,7 +570,7 @@ any other response's body, has finished.</p>
|
|
|
569
570
|
</div>
|
|
570
571
|
|
|
571
572
|
<div id="footer">
|
|
572
|
-
Generated on
|
|
573
|
+
Generated on Sat Nov 14 22:52:43 2026 by
|
|
573
574
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
574
575
|
0.9.45 (ruby-4.0.9).
|
|
575
576
|
</div>
|
data/doc/Files/Transfer/Job.html
CHANGED
|
@@ -2328,7 +2328,7 @@ time when given; the caller looks at its deadline again after it.</p>
|
|
|
2328
2328
|
</div>
|
|
2329
2329
|
|
|
2330
2330
|
<div id="footer">
|
|
2331
|
-
Generated on
|
|
2331
|
+
Generated on Sat Nov 14 22:52:28 2026 by
|
|
2332
2332
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2333
2333
|
0.9.45 (ruby-4.0.9).
|
|
2334
2334
|
</div>
|
|
@@ -914,7 +914,7 @@ The default is 256 MiB.</p></dd>
|
|
|
914
914
|
</div>
|
|
915
915
|
|
|
916
916
|
<div id="footer">
|
|
917
|
-
Generated on
|
|
917
|
+
Generated on Sat Nov 14 22:52:32 2026 by
|
|
918
918
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
919
919
|
0.9.45 (ruby-4.0.9).
|
|
920
920
|
</div>
|
|
@@ -310,7 +310,7 @@ the checkpoint it was given, still usable.</p>
|
|
|
310
310
|
</div>
|
|
311
311
|
|
|
312
312
|
<div id="footer">
|
|
313
|
-
Generated on
|
|
313
|
+
Generated on Sat Nov 14 22:52:31 2026 by
|
|
314
314
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
315
315
|
0.9.45 (ruby-4.0.9).
|
|
316
316
|
</div>
|
|
@@ -1632,7 +1632,7 @@ storage's 20 and 34, scaled to its maximum of 16.</p>
|
|
|
1632
1632
|
</div>
|
|
1633
1633
|
|
|
1634
1634
|
<div id="footer">
|
|
1635
|
-
Generated on
|
|
1635
|
+
Generated on Sat Nov 14 22:52:31 2026 by
|
|
1636
1636
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1637
1637
|
0.9.45 (ruby-4.0.9).
|
|
1638
1638
|
</div>
|
|
@@ -150,7 +150,7 @@ read or it fails, never while it waits to be retried. Its methods run under the
|
|
|
150
150
|
</div>
|
|
151
151
|
|
|
152
152
|
<div id="footer">
|
|
153
|
-
Generated on
|
|
153
|
+
Generated on Sat Nov 14 22:52:32 2026 by
|
|
154
154
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
155
155
|
0.9.45 (ruby-4.0.9).
|
|
156
156
|
</div>
|
|
@@ -225,7 +225,7 @@ before the size it was given. The upload is not finalized.</p>
|
|
|
225
225
|
</div>
|
|
226
226
|
|
|
227
227
|
<div id="footer">
|
|
228
|
-
Generated on
|
|
228
|
+
Generated on Sat Nov 14 22:52:31 2026 by
|
|
229
229
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
230
230
|
0.9.45 (ruby-4.0.9).
|
|
231
231
|
</div>
|
|
@@ -536,7 +536,7 @@ response had more.</p>
|
|
|
536
536
|
</div>
|
|
537
537
|
|
|
538
538
|
<div id="footer">
|
|
539
|
-
Generated on
|
|
539
|
+
Generated on Sat Nov 14 22:52:43 2026 by
|
|
540
540
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
541
541
|
0.9.45 (ruby-4.0.9).
|
|
542
542
|
</div>
|