internal void ThrowIfRangeGet()

in src/Internal/SetupEncryptionHandler.cs [237:245]


        internal void ThrowIfRangeGet(IExecutionContext executionContext)
        {
            var getObjectRequest = executionContext.RequestContext.OriginalRequest as GetObjectRequest;
            if (getObjectRequest != null && getObjectRequest.ByteRange != null)
            {
                throw new NotSupportedException("Unable to perform range get request: Range get is not supported. " +
                                               $"See {EncryptionUtils.SDKEncryptionDocsUrl}");
            }
        }