nickhodge / BoxKite.Twitter

Modern C# Twitter API using .NET Reactive Extensions, async calls
MIT License
41 stars 11 forks source link

Errors on Stream responses are small <HTML> need to capture & handle #13

Open nickhodge opened 11 years ago

nickhodge commented 11 years ago

eg: this is the response on a SearchStream if something is bogus

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Error 401 Unauthorized</title>
</head>
<body>
<h2>HTTP ERROR: 401</h2>
<p>Problem accessing '/1.1/statuses/filter.json?delimited=False&amp;filter_level=none&amp;language=en&amp;locations=-180,-90,180,90&amp;stall_warnings=False'. Reason:
<pre>    Unauthorized</pre>
</body>
</html>