Skip to content

Commit

Permalink
Fixed bug when issuing PutFile after other requests
Browse files Browse the repository at this point in the history
  • Loading branch information
hhariri committed Jan 22, 2011
1 parent 3c8af1a commit 4a6adc3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/EasyHttp/Http/HttpClient.cs
Expand Up @@ -108,6 +108,7 @@ void InitRequest(string uri)
Request.KeepAlive = false;
Request.MultiPartFormData = null;
Request.MultiPartFileData = null;
Request.ContentEncoding = null;
}

public HttpResponse GetAsFile(string uri, string filename)
Expand Down
1 change: 0 additions & 1 deletion src/EasyHttp/Http/HttpContentTypes.cs
Expand Up @@ -70,6 +70,5 @@ public static class HttpContentTypes
public const string ApplicationXml = "application/xml";
public const string ApplicationXWwwFormUrlEncoded = "application/x-www-form-urlencoded";
public const string ApplicationOctetStream = "application/octet-stream";
public const string Any = "*/*";
}
}

0 comments on commit 4a6adc3

Please sign in to comment.