Skip to content

Commit

Permalink
Upgrade to Ocelot 12.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lfzm committed Sep 25, 2018
1 parent 0d2d7b1 commit 06391a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion example/OcelotOrleans.AspNetCore/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Ocelot.Middleware;
using Ocelot.OrleansHttpGateway.Configuration;
using Ocelot.OrleansHttpGateway.Requester;
using Ocelot.Provider.Consul;
using Orleans.Hosting;
using System;
using System.IO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.1.0-bate1</Version>
<Version>1.2.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>aqa510415008</Authors>
<Company>aling</Company>
Expand All @@ -23,7 +23,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Core" Version="2.0.3" />
<PackageReference Include="Ocelot" Version="11.0.2" />
<PackageReference Include="Ocelot" Version="12.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public async Task Invoke(DownstreamContext context)
}
Logger.LogDebug("setting http response message");
context.HttpContext.Response.ContentType = resultResponse.Data.Content.ContentType;
context.DownstreamResponse = new DownstreamResponse(resultResponse.Data.Content, resultResponse.Data.StatusCode, resultResponse.Data.Headers);
context.DownstreamResponse = new DownstreamResponse(resultResponse.Data.Content, resultResponse.Data.StatusCode, resultResponse.Data.Headers,"");

}

Expand Down

0 comments on commit 06391a7

Please sign in to comment.