[hyena] Prepare Banshee for the new endpoint.
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hyena] Prepare Banshee for the new endpoint.
- Date: Fri, 9 Jul 2010 21:31:38 +0000 (UTC)
commit 046d952836b2e8707002af94f6edbf6fd7378d72
Author: Ruben Vermeersch <ruben savanne be>
Date: Fri Jun 25 14:29:33 2010 +0200
Prepare Banshee for the new endpoint.
Signed-off-by: Aaron Bockover <abockover novell com>
Hyena.Data.Sqlite/Hyena.Metrics/HttpPoster.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Hyena.Data.Sqlite/Hyena.Metrics/HttpPoster.cs b/Hyena.Data.Sqlite/Hyena.Metrics/HttpPoster.cs
index 774b2ba..4ab9112 100644
--- a/Hyena.Data.Sqlite/Hyena.Metrics/HttpPoster.cs
+++ b/Hyena.Data.Sqlite/Hyena.Metrics/HttpPoster.cs
@@ -39,6 +39,9 @@ namespace Hyena.Metrics
{
this.url = url;
this.metrics = metrics;
+
+ // Sending the Expect header causes lighttpd to fail with a 417 header.
+ ServicePointManager.Expect100Continue = false;
}
public bool Post ()
@@ -70,4 +73,4 @@ namespace Hyena.Metrics
return false;
}
}
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]