mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Improved backwards compatibility
This commit is contained in:
@@ -83,9 +83,16 @@ namespace RuriLib
|
||||
writer
|
||||
.Label(Label)
|
||||
.Token("BYPASSCF")
|
||||
.Literal(Url)
|
||||
.Token("SECPROTO")
|
||||
.Token(SecurityProtocol)
|
||||
.Literal(Url);
|
||||
|
||||
if (SecurityProtocol != SecurityProtocol.SystemDefault)
|
||||
{
|
||||
writer
|
||||
.Token("SECPROTO")
|
||||
.Token(SecurityProtocol);
|
||||
}
|
||||
|
||||
writer
|
||||
.Literal(UserAgent, "UserAgent")
|
||||
.Boolean(PrintResponseInfo, "PrintResponseInfo");
|
||||
return writer.ToString();
|
||||
|
||||
Reference in New Issue
Block a user