Fix due to the modified WebHeaderCollection.cs

This commit is contained in:
sta
2013-03-19 19:45:50 +09:00
parent e370d0f879
commit 01d97d02b6
70 changed files with 1824 additions and 688 deletions

View File

@@ -112,7 +112,7 @@ namespace WebSocketSharp.Net {
public int ClientCertificateError {
// TODO: Always returns 0
get {
/*
/*
if (no_get_certificate)
throw new InvalidOperationException (
"Call GetClientCertificate() before calling this method.");
@@ -470,7 +470,7 @@ namespace WebSocketSharp.Net {
string name = header.Substring (0, colon).Trim ();
string val = header.Substring (colon + 1).Trim ();
string lower = name.ToLower (CultureInfo.InvariantCulture);
headers.SetInternal (name, val);
headers.SetInternal (name, val, false);
switch (lower) {
case "accept-language":
user_languages = val.Split (','); // yes, only split with a ','