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

Commit ebcba4d

Browse files
committed
Don't attempt to set UserAgent in PclExport.Sl5 which throws NotImplementedException
1 parent 61a202d commit ebcba4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Text/PclExport.Sl5.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public override void Config(HttpWebRequest req,
5959
bool? preAuthenticate = null)
6060
{
6161
if (allowAutoRedirect.HasValue) req.AllowAutoRedirect = allowAutoRedirect.Value;
62-
if (userAgent != null) req.UserAgent = userAgent;
62+
// if (userAgent != null) req.UserAgent = userAgent; //throws NotImplementedException
6363
}
6464

6565
public override HttpWebRequest CreateWebRequest(string requestUri, bool? emulateHttpViaPost = null)

0 commit comments

Comments
 (0)