Skip to content

Commit

Permalink
Bug 52866 - Client.YDisk.Upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhorukovAnton committed Oct 5, 2021
1 parent 427a589 commit 1c48a11
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion products/ASC.Files/Core/ASC.Files.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AppLimit.CloudComputing.SharpBox" Version="1.1.0.456" />
<PackageReference Include="AppLimit.CloudComputing.SharpBox" Version="1.1.0.457" />
<PackageReference Include="Box.V2.Core" Version="3.24.0" />
<PackageReference Include="DocuSign.eSign.dll" Version="4.4.1" />
<PackageReference Include="Dropbox.Api" Version="4.10.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<WarningsAsErrors></WarningsAsErrors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.1.0.456</Version>
<Version>1.1.0.457</Version>
<PackageLicenseExpression></PackageLicenseExpression>
<AssemblyVersion>1.1.0.456</AssemblyVersion>
<FileVersion>1.1.0.456</FileVersion>
<AssemblyVersion>1.1.0.457</AssemblyVersion>
<FileVersion>1.1.0.457</FileVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>full</DebugType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ public WebRequest CreateWebRequestPUT(string url, ICredentials credentials, bool

// set the content type
request.ContentType = "application/octet-stream";

#if NET5_0
request.Headers.Add("Expect", "100-continue");
#endif
// go ahead
return request;
}
Expand Down Expand Up @@ -87,9 +89,9 @@ public HttpStatusCode PerformCopyWebRequest(string url, string urlNewTarget, ICr
return (HttpStatusCode)code;
}

#endregion
#endregion

#region Overrides
#region Overrides

public override WebRequest CreateWebRequest(string url, string method, ICredentials credentials, bool bAllowStreamBuffering, object context)
{
Expand Down Expand Up @@ -154,6 +156,6 @@ private static void DavPreparation(WebRequest request, object context)
}
}

#endregion
#endregion
}
}

0 comments on commit 1c48a11

Please sign in to comment.