files.com 1.1.828 → 1.1.830
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 -2
- 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 +2 -2
- 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/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 +2 -2
- data/doc/_index.html +1 -8
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +2 -6
- data/doc/index.html +2 -6
- 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/errors.rb +0 -1
- 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 -2
- data/doc/Files/UnsupportedCurrencyError.html +0 -180
|
@@ -97,7 +97,8 @@ destination back for every request of the job (Holds). Anything else is refused:
|
|
|
97
97
|
3xx (redirects are never followed) and a success that does not acknowledge the part. Each retry is a new
|
|
98
98
|
admission, within the caller's Files.max_network_retries, and never for a part whose instructions say
|
|
99
99
|
retry_parts: false. A 400 or 403 that says its URL has expired (expired_response?) is renewed instead, as one of
|
|
100
|
-
those retries, as is a 403 for a URL whose stated expiry has passed
|
|
100
|
+
those retries, as is a 403 for a URL whose stated expiry has passed. A 409 that says a download's file changed
|
|
101
|
+
since its URL was given (source_changed_response?) is that change, never retried with the same URL.</p>
|
|
101
102
|
|
|
102
103
|
</div>
|
|
103
104
|
</div>
|
|
@@ -292,6 +293,21 @@ to case, as the Python and .NET SDKs match them.</p>
|
|
|
292
293
|
</dt>
|
|
293
294
|
<dd><pre class="code"><span class='qwords_beg'>%w[</span><span class='tstring_content'>download_request_expired</span><span class='words_sep'> </span><span class='tstring_content'>upload_request_expired</span><span class='tstring_end'>]</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
|
|
294
295
|
|
|
296
|
+
<dt id="SOURCE_CHANGED_TYPE-constant" class="">SOURCE_CHANGED_TYPE =
|
|
297
|
+
<div class="docstring">
|
|
298
|
+
<div class="discussion">
|
|
299
|
+
<p>The type of the JSON error a Files.com download URL is refused with, as a 409, once its file has changed since
|
|
300
|
+
the URL was given, such as a Files Agent file whose size no longer matches the size the URL was given for.</p>
|
|
301
|
+
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
304
|
+
<div class="tags">
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
</div>
|
|
308
|
+
</dt>
|
|
309
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>download_source_changed</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
310
|
+
|
|
295
311
|
<dt id="JSON_START-constant" class="">JSON_START =
|
|
296
312
|
<div class="docstring">
|
|
297
313
|
<div class="discussion">
|
|
@@ -392,6 +408,28 @@ to case, as the Python and .NET SDKs match them.</p>
|
|
|
392
408
|
<li class="public ">
|
|
393
409
|
<span class="summary_signature">
|
|
394
410
|
|
|
411
|
+
<a href="#error_type-class_method" title="error_type (class method)">.<strong>error_type</strong>(body) ⇒ Object </a>
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
</span>
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<span class="summary_desc"><div class='inline'><p>The type of the JSON error object that is the whole of body, or nil when body is not one.</p></div></span>
|
|
426
|
+
|
|
427
|
+
</li>
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
<li class="public ">
|
|
431
|
+
<span class="summary_signature">
|
|
432
|
+
|
|
395
433
|
<a href="#expired%3F-class_method" title="expired? (class method)">.<strong>expired?</strong>(expires_at, now: Time.now) ⇒ Boolean </a>
|
|
396
434
|
|
|
397
435
|
|
|
@@ -524,6 +562,28 @@ to case, as the Python and .NET SDKs match them.</p>
|
|
|
524
562
|
<li class="public ">
|
|
525
563
|
<span class="summary_signature">
|
|
526
564
|
|
|
565
|
+
<a href="#source_changed_response%3F-class_method" title="source_changed_response? (class method)">.<strong>source_changed_response?</strong>(status, body, truncated: false) ⇒ Boolean </a>
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
</span>
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
<span class="summary_desc"><div class='inline'><p>Whether a download URL was refused because its file changed since the URL was given: a 409 whose whole body, within EXPIRY_SCAN_BYTES, is a JSON object whose type is SOURCE_CHANGED_TYPE.</p></div></span>
|
|
580
|
+
|
|
581
|
+
</li>
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
<li class="public ">
|
|
585
|
+
<span class="summary_signature">
|
|
586
|
+
|
|
527
587
|
<a href="#valid_xml_attributes%3F-class_method" title="valid_xml_attributes? (class method)">.<strong>valid_xml_attributes?</strong>(attributes) ⇒ Boolean </a>
|
|
528
588
|
|
|
529
589
|
|
|
@@ -590,17 +650,17 @@ to case, as the Python and .NET SDKs match them.</p>
|
|
|
590
650
|
<pre class="lines">
|
|
591
651
|
|
|
592
652
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
653
|
+
210
|
|
654
|
+
211
|
|
655
|
+
212
|
|
656
|
+
213
|
|
657
|
+
214
|
|
658
|
+
215
|
|
659
|
+
216
|
|
660
|
+
217</pre>
|
|
601
661
|
</td>
|
|
602
662
|
<td>
|
|
603
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
663
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 210</span>
|
|
604
664
|
|
|
605
665
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_api_time'>api_time</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
|
606
666
|
<span class='kw'>case</span> <span class='id identifier rubyid_value'>value</span>
|
|
@@ -641,19 +701,19 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
|
|
|
641
701
|
<pre class="lines">
|
|
642
702
|
|
|
643
703
|
|
|
644
|
-
56
|
|
645
|
-
57
|
|
646
|
-
58
|
|
647
|
-
59
|
|
648
704
|
60
|
|
649
705
|
61
|
|
650
706
|
62
|
|
651
707
|
63
|
|
652
708
|
64
|
|
653
|
-
65
|
|
709
|
+
65
|
|
710
|
+
66
|
|
711
|
+
67
|
|
712
|
+
68
|
|
713
|
+
69</pre>
|
|
654
714
|
</td>
|
|
655
715
|
<td>
|
|
656
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
716
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 60</span>
|
|
657
717
|
|
|
658
718
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_classify'>classify</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
659
719
|
<span class='kw'>if</span> <span class='const'><span class='object_link'><a href="#THROTTLE_STATUSES-constant" title="Files::Transfer::StorageRetry::THROTTLE_STATUSES (constant)">THROTTLE_STATUSES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='rparen'>)</span>
|
|
@@ -685,13 +745,13 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
|
|
|
685
745
|
<pre class="lines">
|
|
686
746
|
|
|
687
747
|
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
748
|
+
205
|
|
749
|
+
206
|
|
750
|
+
207
|
|
751
|
+
208</pre>
|
|
692
752
|
</td>
|
|
693
753
|
<td>
|
|
694
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
754
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 205</span>
|
|
695
755
|
|
|
696
756
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_compact_time'>compact_time</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span>
|
|
697
757
|
<span class='id identifier rubyid_match'>match</span> <span class='op'>=</span> <span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='period'>.</span><span class='id identifier rubyid_match'>match</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\A(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})Z\z</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
|
|
@@ -700,6 +760,51 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
|
|
|
700
760
|
</td>
|
|
701
761
|
</tr>
|
|
702
762
|
</table>
|
|
763
|
+
</div>
|
|
764
|
+
|
|
765
|
+
<div class="method_details ">
|
|
766
|
+
<h3 class="signature " id="error_type-class_method">
|
|
767
|
+
|
|
768
|
+
.<strong>error_type</strong>(body) ⇒ <tt>Object</tt>
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
</h3><div class="docstring">
|
|
775
|
+
<div class="discussion">
|
|
776
|
+
<p>The type of the JSON error object that is the whole of body, or nil when body is not one.</p>
|
|
777
|
+
|
|
778
|
+
</div>
|
|
779
|
+
</div>
|
|
780
|
+
<div class="tags">
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
</div><table class="source_code">
|
|
784
|
+
<tr>
|
|
785
|
+
<td>
|
|
786
|
+
<pre class="lines">
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
99
|
|
790
|
+
100
|
|
791
|
+
101
|
|
792
|
+
102
|
|
793
|
+
103
|
|
794
|
+
104</pre>
|
|
795
|
+
</td>
|
|
796
|
+
<td>
|
|
797
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 99</span>
|
|
798
|
+
|
|
799
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_error_type'>error_type</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
|
|
800
|
+
<span class='id identifier rubyid_error'>error</span> <span class='op'>=</span> <span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_b'>b</span><span class='period'>.</span><span class='id identifier rubyid_force_encoding'>force_encoding</span><span class='lparen'>(</span><span class='const'>Encoding</span><span class='op'>::</span><span class='const'>UTF_8</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
801
|
+
<span class='id identifier rubyid_error'>error</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>type</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_error'>error</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
|
|
802
|
+
<span class='kw'>rescue</span> <span class='const'>JSON</span><span class='op'>::</span><span class='const'>ParserError</span><span class='comma'>,</span> <span class='const'>EncodingError</span>
|
|
803
|
+
<span class='kw'>nil</span>
|
|
804
|
+
<span class='kw'>end</span></pre>
|
|
805
|
+
</td>
|
|
806
|
+
</tr>
|
|
807
|
+
</table>
|
|
703
808
|
</div>
|
|
704
809
|
|
|
705
810
|
<div class="method_details ">
|
|
@@ -739,12 +844,12 @@ transport keeps no more of: such a 400 is never taken for RequestTimeout, since
|
|
|
739
844
|
<pre class="lines">
|
|
740
845
|
|
|
741
846
|
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
847
|
+
201
|
|
848
|
+
202
|
|
849
|
+
203</pre>
|
|
745
850
|
</td>
|
|
746
851
|
<td>
|
|
747
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
852
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 201</span>
|
|
748
853
|
|
|
749
854
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_expired?'>expired?</span><span class='lparen'>(</span><span class='id identifier rubyid_expires_at'>expires_at</span><span class='comma'>,</span> <span class='label'>now:</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='rparen'>)</span>
|
|
750
855
|
<span class='op'>!</span><span class='id identifier rubyid_expires_at'>expires_at</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>&&</span> <span class='id identifier rubyid_now'>now</span> <span class='op'>>=</span> <span class='id identifier rubyid_expires_at'>expires_at</span> <span class='op'>-</span> <span class='const'><span class='object_link'><a href="#EXPIRY_MARGIN-constant" title="Files::Transfer::StorageRetry::EXPIRY_MARGIN (constant)">EXPIRY_MARGIN</a></span></span>
|
|
@@ -795,10 +900,6 @@ alone, never by text inside it. Any other refusal, such as a 403 that denies acc
|
|
|
795
900
|
<pre class="lines">
|
|
796
901
|
|
|
797
902
|
|
|
798
|
-
72
|
|
799
|
-
73
|
|
800
|
-
74
|
|
801
|
-
75
|
|
802
903
|
76
|
|
803
904
|
77
|
|
804
905
|
78
|
|
@@ -809,10 +910,11 @@ alone, never by text inside it. Any other refusal, such as a 403 that denies acc
|
|
|
809
910
|
83
|
|
810
911
|
84
|
|
811
912
|
85
|
|
812
|
-
86
|
|
913
|
+
86
|
|
914
|
+
87</pre>
|
|
813
915
|
</td>
|
|
814
916
|
<td>
|
|
815
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
917
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 76</span>
|
|
816
918
|
|
|
817
919
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_expired_response?'>expired_response?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
818
920
|
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='lbracket'>[</span> <span class='int'>400</span><span class='comma'>,</span> <span class='int'>403</span> <span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='rparen'>)</span> <span class='op'>&&</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>
|
|
@@ -824,10 +926,7 @@ alone, never by text inside it. Any other refusal, such as a 403 that denies acc
|
|
|
824
926
|
<span class='kw'>end</span>
|
|
825
927
|
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>if</span> <span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>||</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span> <span class='op'>></span> <span class='const'><span class='object_link'><a href="#EXPIRY_SCAN_BYTES-constant" title="Files::Transfer::StorageRetry::EXPIRY_SCAN_BYTES (constant)">EXPIRY_SCAN_BYTES</a></span></span>
|
|
826
928
|
|
|
827
|
-
<span class='
|
|
828
|
-
<span class='id identifier rubyid_error'>error</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='const'><span class='object_link'><a href="#EXPIRED_TYPES-constant" title="Files::Transfer::StorageRetry::EXPIRED_TYPES (constant)">EXPIRED_TYPES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_error'>error</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>type</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
|
829
|
-
<span class='kw'>rescue</span> <span class='const'>JSON</span><span class='op'>::</span><span class='const'>ParserError</span><span class='comma'>,</span> <span class='const'>EncodingError</span>
|
|
830
|
-
<span class='kw'>false</span>
|
|
929
|
+
<span class='const'><span class='object_link'><a href="#EXPIRED_TYPES-constant" title="Files::Transfer::StorageRetry::EXPIRED_TYPES (constant)">EXPIRED_TYPES</a></span></span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_error_type'>error_type</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
831
930
|
<span class='kw'>end</span></pre>
|
|
832
931
|
</td>
|
|
833
932
|
</tr>
|
|
@@ -859,23 +958,23 @@ the same X-Files- and X-Goog- parameters, or an Azure SAS's se. nil when neither
|
|
|
859
958
|
<pre class="lines">
|
|
860
959
|
|
|
861
960
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
961
|
+
186
|
|
962
|
+
187
|
|
963
|
+
188
|
|
964
|
+
189
|
|
965
|
+
190
|
|
966
|
+
191
|
|
967
|
+
192
|
|
968
|
+
193
|
|
969
|
+
194
|
|
970
|
+
195
|
|
971
|
+
196
|
|
972
|
+
197
|
|
973
|
+
198
|
|
974
|
+
199</pre>
|
|
876
975
|
</td>
|
|
877
976
|
<td>
|
|
878
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
977
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 186</span>
|
|
879
978
|
|
|
880
979
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_expires_at'>expires_at</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_api_expires'>api_expires</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
881
980
|
<span class='id identifier rubyid_times'>times</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='id identifier rubyid_api_time'>api_time</span><span class='lparen'>(</span><span class='id identifier rubyid_api_expires'>api_expires</span><span class='rparen'>)</span> <span class='rbracket'>]</span>
|
|
@@ -933,12 +1032,12 @@ the same X-Files- and X-Goog- parameters, or an Azure SAS's se. nil when neither
|
|
|
933
1032
|
<pre class="lines">
|
|
934
1033
|
|
|
935
1034
|
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
1035
|
+
180
|
|
1036
|
+
181
|
|
1037
|
+
182</pre>
|
|
939
1038
|
</td>
|
|
940
1039
|
<td>
|
|
941
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
1040
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 180</span>
|
|
942
1041
|
|
|
943
1042
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_frontend?'>frontend?</span><span class='lparen'>(</span><span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
|
944
1043
|
<span class='id identifier rubyid_headers'>headers</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="#FRONTEND_HEADER-constant" title="Files::Transfer::StorageRetry::FRONTEND_HEADER (constant)">FRONTEND_HEADER</a></span></span><span class='rparen'>)</span>
|
|
@@ -989,24 +1088,6 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
|
|
|
989
1088
|
<pre class="lines">
|
|
990
1089
|
|
|
991
1090
|
|
|
992
|
-
104
|
|
993
|
-
105
|
|
994
|
-
106
|
|
995
|
-
107
|
|
996
|
-
108
|
|
997
|
-
109
|
|
998
|
-
110
|
|
999
|
-
111
|
|
1000
|
-
112
|
|
1001
|
-
113
|
|
1002
|
-
114
|
|
1003
|
-
115
|
|
1004
|
-
116
|
|
1005
|
-
117
|
|
1006
|
-
118
|
|
1007
|
-
119
|
|
1008
|
-
120
|
|
1009
|
-
121
|
|
1010
1091
|
122
|
|
1011
1092
|
123
|
|
1012
1093
|
124
|
|
@@ -1024,10 +1105,28 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
|
|
|
1024
1105
|
136
|
|
1025
1106
|
137
|
|
1026
1107
|
138
|
|
1027
|
-
139
|
|
1108
|
+
139
|
|
1109
|
+
140
|
|
1110
|
+
141
|
|
1111
|
+
142
|
|
1112
|
+
143
|
|
1113
|
+
144
|
|
1114
|
+
145
|
|
1115
|
+
146
|
|
1116
|
+
147
|
|
1117
|
+
148
|
|
1118
|
+
149
|
|
1119
|
+
150
|
|
1120
|
+
151
|
|
1121
|
+
152
|
|
1122
|
+
153
|
|
1123
|
+
154
|
|
1124
|
+
155
|
|
1125
|
+
156
|
|
1126
|
+
157</pre>
|
|
1028
1127
|
</td>
|
|
1029
1128
|
<td>
|
|
1030
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
1129
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 122</span>
|
|
1031
1130
|
|
|
1032
1131
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_request_timeout?'>request_timeout?</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span>
|
|
1033
1132
|
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</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> <span class='op'>&&</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span> <span class='op'><=</span> <span class='const'><span class='object_link'><a href="#XML_MAX_BYTES-constant" title="Files::Transfer::StorageRetry::XML_MAX_BYTES (constant)">XML_MAX_BYTES</a></span></span>
|
|
@@ -1094,18 +1193,18 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
|
|
|
1094
1193
|
<pre class="lines">
|
|
1095
1194
|
|
|
1096
1195
|
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1196
|
+
107
|
|
1197
|
+
108
|
|
1198
|
+
109
|
|
1199
|
+
110
|
|
1200
|
+
111
|
|
1201
|
+
112
|
|
1202
|
+
113
|
|
1203
|
+
114
|
|
1204
|
+
115</pre>
|
|
1106
1205
|
</td>
|
|
1107
1206
|
<td>
|
|
1108
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
1207
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 107</span>
|
|
1109
1208
|
|
|
1110
1209
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_retry_after'>retry_after</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='comma'>,</span> <span class='label'>now:</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='rparen'>)</span>
|
|
1111
1210
|
<span class='kw'>return</span> <span class='float'>0.0</span> <span class='kw'>if</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
@@ -1119,6 +1218,64 @@ holding only RequestTimeout. A nested or repeated Code, another code, or anythin
|
|
|
1119
1218
|
</td>
|
|
1120
1219
|
</tr>
|
|
1121
1220
|
</table>
|
|
1221
|
+
</div>
|
|
1222
|
+
|
|
1223
|
+
<div class="method_details ">
|
|
1224
|
+
<h3 class="signature " id="source_changed_response?-class_method">
|
|
1225
|
+
|
|
1226
|
+
.<strong>source_changed_response?</strong>(status, body, truncated: false) ⇒ <tt>Boolean</tt>
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
</h3><div class="docstring">
|
|
1233
|
+
<div class="discussion">
|
|
1234
|
+
<p>Whether a download URL was refused because its file changed since the URL was given: a 409 whose whole body,
|
|
1235
|
+
within EXPIRY_SCAN_BYTES, is a JSON object whose type is SOURCE_CHANGED_TYPE. Judged by that type alone, never
|
|
1236
|
+
by text inside the body, nor from a body truncated or longer than that; any other 409 is not.</p>
|
|
1237
|
+
|
|
1238
|
+
</div>
|
|
1239
|
+
</div>
|
|
1240
|
+
<div class="tags">
|
|
1241
|
+
|
|
1242
|
+
<p class="tag_title">Returns:</p>
|
|
1243
|
+
<ul class="return">
|
|
1244
|
+
|
|
1245
|
+
<li>
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
</li>
|
|
1253
|
+
|
|
1254
|
+
</ul>
|
|
1255
|
+
|
|
1256
|
+
</div><table class="source_code">
|
|
1257
|
+
<tr>
|
|
1258
|
+
<td>
|
|
1259
|
+
<pre class="lines">
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
92
|
|
1263
|
+
93
|
|
1264
|
+
94
|
|
1265
|
+
95
|
|
1266
|
+
96</pre>
|
|
1267
|
+
</td>
|
|
1268
|
+
<td>
|
|
1269
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 92</span>
|
|
1270
|
+
|
|
1271
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_source_changed_response?'>source_changed_response?</span><span class='lparen'>(</span><span class='id identifier rubyid_status'>status</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='label'>truncated:</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
1272
|
+
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='id identifier rubyid_status'>status</span> <span class='op'>==</span> <span class='int'>409</span> <span class='op'>&&</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> <span class='op'>&&</span> <span class='op'>!</span><span class='id identifier rubyid_truncated'>truncated</span> <span class='op'>&&</span> <span class='id identifier rubyid_body'>body</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span> <span class='op'><=</span> <span class='const'><span class='object_link'><a href="#EXPIRY_SCAN_BYTES-constant" title="Files::Transfer::StorageRetry::EXPIRY_SCAN_BYTES (constant)">EXPIRY_SCAN_BYTES</a></span></span>
|
|
1273
|
+
|
|
1274
|
+
<span class='id identifier rubyid_error_type'>error_type</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='const'><span class='object_link'><a href="#SOURCE_CHANGED_TYPE-constant" title="Files::Transfer::StorageRetry::SOURCE_CHANGED_TYPE (constant)">SOURCE_CHANGED_TYPE</a></span></span>
|
|
1275
|
+
<span class='kw'>end</span></pre>
|
|
1276
|
+
</td>
|
|
1277
|
+
</tr>
|
|
1278
|
+
</table>
|
|
1122
1279
|
</div>
|
|
1123
1280
|
|
|
1124
1281
|
<div class="method_details ">
|
|
@@ -1159,18 +1316,18 @@ formed.</p>
|
|
|
1159
1316
|
<pre class="lines">
|
|
1160
1317
|
|
|
1161
1318
|
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1319
|
+
161
|
|
1320
|
+
162
|
|
1321
|
+
163
|
|
1322
|
+
164
|
|
1323
|
+
165
|
|
1324
|
+
166
|
|
1325
|
+
167
|
|
1326
|
+
168
|
|
1327
|
+
169</pre>
|
|
1171
1328
|
</td>
|
|
1172
1329
|
<td>
|
|
1173
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
1330
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 161</span>
|
|
1174
1331
|
|
|
1175
1332
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_valid_xml_attributes?'>valid_xml_attributes?</span><span class='lparen'>(</span><span class='id identifier rubyid_attributes'>attributes</span><span class='rparen'>)</span>
|
|
1176
1333
|
<span class='id identifier rubyid_names'>names</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
|
@@ -1224,15 +1381,15 @@ allows.</p>
|
|
|
1224
1381
|
<pre class="lines">
|
|
1225
1382
|
|
|
1226
1383
|
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1384
|
+
173
|
|
1385
|
+
174
|
|
1386
|
+
175
|
|
1387
|
+
176
|
|
1388
|
+
177
|
|
1389
|
+
178</pre>
|
|
1233
1390
|
</td>
|
|
1234
1391
|
<td>
|
|
1235
|
-
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line
|
|
1392
|
+
<pre class="code"><span class="info file"># File 'lib/files.com/transfer/storage_retry.rb', line 173</span>
|
|
1236
1393
|
|
|
1237
1394
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_valid_xml_text?'>valid_xml_text?</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span>
|
|
1238
1395
|
<span class='op'>!</span><span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>]]></span><span class='tstring_end'>"</span></span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_text'>text</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="#XML_CHARACTER_REFERENCE-constant" title="Files::Transfer::StorageRetry::XML_CHARACTER_REFERENCE (constant)">XML_CHARACTER_REFERENCE</a></span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_all?'>all?</span> <span class='kw'>do</span> <span class='op'>|</span><span class='lparen'>(</span><span class='id identifier rubyid_digits'>digits</span><span class='rparen'>)</span><span class='op'>|</span>
|
|
@@ -1250,7 +1407,7 @@ allows.</p>
|
|
|
1250
1407
|
</div>
|
|
1251
1408
|
|
|
1252
1409
|
<div id="footer">
|
|
1253
|
-
Generated on
|
|
1410
|
+
Generated on Tue Nov 17 00:28:12 2026 by
|
|
1254
1411
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1255
1412
|
0.9.45 (ruby-4.0.9).
|
|
1256
1413
|
</div>
|
|
@@ -1038,7 +1038,7 @@
|
|
|
1038
1038
|
</div>
|
|
1039
1039
|
|
|
1040
1040
|
<div id="footer">
|
|
1041
|
-
Generated on
|
|
1041
|
+
Generated on Tue Nov 17 00:28:43 2026 by
|
|
1042
1042
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1043
1043
|
0.9.45 (ruby-4.0.9).
|
|
1044
1044
|
</div>
|
|
@@ -1038,7 +1038,7 @@
|
|
|
1038
1038
|
</div>
|
|
1039
1039
|
|
|
1040
1040
|
<div id="footer">
|
|
1041
|
-
Generated on
|
|
1041
|
+
Generated on Tue Nov 17 00:28:43 2026 by
|
|
1042
1042
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1043
1043
|
0.9.45 (ruby-4.0.9).
|
|
1044
1044
|
</div>
|
|
@@ -285,7 +285,7 @@ transport as they are, never taken for network errors.</p>
|
|
|
285
285
|
</div>
|
|
286
286
|
|
|
287
287
|
<div id="footer">
|
|
288
|
-
Generated on
|
|
288
|
+
Generated on Tue Nov 17 00:28:43 2026 by
|
|
289
289
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
290
290
|
0.9.45 (ruby-4.0.9).
|
|
291
291
|
</div>
|
|
@@ -289,7 +289,7 @@ Each read copies a slice of at most 64 KiB of a piece, which the part holds a re
|
|
|
289
289
|
</div>
|
|
290
290
|
|
|
291
291
|
<div id="footer">
|
|
292
|
-
Generated on
|
|
292
|
+
Generated on Tue Nov 17 00:28:43 2026 by
|
|
293
293
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
294
294
|
0.9.45 (ruby-4.0.9).
|
|
295
295
|
</div>
|
|
@@ -715,7 +715,7 @@ the first attempt did without keeping it in memory.</p>
|
|
|
715
715
|
</div>
|
|
716
716
|
|
|
717
717
|
<div id="footer">
|
|
718
|
-
Generated on
|
|
718
|
+
Generated on Tue Nov 17 00:28:43 2026 by
|
|
719
719
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
720
720
|
0.9.45 (ruby-4.0.9).
|
|
721
721
|
</div>
|
|
@@ -654,7 +654,7 @@ order, as one String when a single read gave the whole part.</p>
|
|
|
654
654
|
</div>
|
|
655
655
|
|
|
656
656
|
<div id="footer">
|
|
657
|
-
Generated on
|
|
657
|
+
Generated on Tue Nov 17 00:28:43 2026 by
|
|
658
658
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
659
659
|
0.9.45 (ruby-4.0.9).
|
|
660
660
|
</div>
|
|
@@ -540,7 +540,7 @@ before finalizing, the local file must still be the one opened, with the same si
|
|
|
540
540
|
</div>
|
|
541
541
|
|
|
542
542
|
<div id="footer">
|
|
543
|
-
Generated on
|
|
543
|
+
Generated on Tue Nov 17 00:28:43 2026 by
|
|
544
544
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
545
545
|
0.9.45 (ruby-4.0.9).
|
|
546
546
|
</div>
|
|
@@ -512,7 +512,7 @@ URL, or a parallel flag on its own, is not this route. The URL is only read: the
|
|
|
512
512
|
</div>
|
|
513
513
|
|
|
514
514
|
<div id="footer">
|
|
515
|
-
Generated on
|
|
515
|
+
Generated on Tue Nov 17 00:28:12 2026 by
|
|
516
516
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
517
517
|
0.9.45 (ruby-4.0.9).
|
|
518
518
|
</div>
|
|
@@ -128,7 +128,7 @@ request again; it never reaches a caller.</p>
|
|
|
128
128
|
</div>
|
|
129
129
|
|
|
130
130
|
<div id="footer">
|
|
131
|
-
Generated on
|
|
131
|
+
Generated on Tue Nov 17 00:28:26 2026 by
|
|
132
132
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
133
133
|
0.9.45 (ruby-4.0.9).
|
|
134
134
|
</div>
|