[Modify] Re-throw it
This commit is contained in:
parent
15c99a75a7
commit
b2b158db02
@ -554,10 +554,15 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
internal static CookieCollection Parse (string value, bool response)
|
internal static CookieCollection Parse (string value, bool response)
|
||||||
{
|
{
|
||||||
|
try {
|
||||||
return response
|
return response
|
||||||
? parseResponse (value)
|
? parseResponse (value)
|
||||||
: parseRequest (value);
|
: parseRequest (value);
|
||||||
}
|
}
|
||||||
|
catch (Exception ex) {
|
||||||
|
throw new CookieException ("It could not be parsed.", ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal void SetOrRemove (Cookie cookie)
|
internal void SetOrRemove (Cookie cookie)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user