Workaround 417 error

Signed-off-by: tyler <tyler@monkeypox.org>
This commit is contained in:
tyler 2008-12-31 02:11:38 -05:00 committed by R. Tyler Ballance
parent 3ed74f0969
commit 0ed5535003
2 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ public class Twitterbot
public static void Main(string[] args)
{
bool slowAtNight = false;
/*
* Workaround for the 417 error found here:
* http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7c67ff1a2407dee7
*/
System.Net.ServicePointManager.Expect100Continue = false;
if ( (args.Length < 3) || (args.Length > 4) )
{

Binary file not shown.