Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 61a202d

Browse files
committed
fix PCL build error
1 parent 0c3e82a commit 61a202d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ServiceStack.Text/HttpUtils.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,12 @@ public static Task<string> SendStringToUrlAsync(this string url, string method =
346346
}
347347

348348
var taskWebRes = webReq.GetResponseAsync();
349-
350349
return taskWebRes.ContinueWith(task =>
351350
{
352351
var webRes = task.Result;
353-
354352
if (responseFilter != null)
355353
{
356-
responseFilter(webRes);
354+
responseFilter((HttpWebResponse)webRes);
357355
}
358356

359357
using (var stream = webRes.GetResponseStream())

0 commit comments

Comments
 (0)