Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dotnet/src/dotnetframework/GxClasses/GxClasses.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
<Reference Include="System.Messaging">
<Name>System.Messaging</Name>
</Reference>
<Reference Include="System.Net.Http" />
<Reference Include="System.Runtime.Serialization">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
Expand Down
2 changes: 2 additions & 0 deletions dotnet/src/dotnetframework/GxClasses/Helpers/HttpHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public class HttpHelper
static readonly ILog log = log4net.LogManager.GetLogger(typeof(GeneXus.Http.HttpHelper));
public const string ASPX = ".aspx";
public const string GXOBJECT = "/gxobject";
public const string HttpPostMethod= "POST";
public const string HttpGetMethod = "GET";

public static void SetResponseStatus(HttpContext httpContext, string statusCode, string statusDescription)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,11 @@ bool IsPost()
{
if (wcfContext != null)
{
return HttpMethod.Post.Method == wcfContext.IncomingRequest.Method;
return HttpHelper.HttpPostMethod == wcfContext.IncomingRequest.Method;
}
else if (httpContext != null)
{
return HttpMethod.Post.Method == httpContext.Request.HttpMethod;
return HttpHelper.HttpPostMethod == httpContext.Request.HttpMethod;
}
else return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
Expand Down