Revert guest id workaround for now

Needs more testing
This commit is contained in:
Zed 2020-01-19 12:31:52 +01:00
parent 973ba585c7
commit bddb6df567

View file

@ -18,7 +18,7 @@ proc genHeaders*(headers: openArray[tuple[key: string, val: string]];
if auth: result["authority"] = "twitter.com" if auth: result["authority"] = "twitter.com"
if lang: result["accept-language"] = consts.lang if lang: result["accept-language"] = consts.lang
if xml: result["x-requested-with"] = "XMLHttpRequest" if xml: result["x-requested-with"] = "XMLHttpRequest"
if guestId: result["cookie"] = guestIdCookie # if guestId: result["cookie"] = guestIdCookie
for (key, val) in headers: for (key, val) in headers:
result[key] = val result[key] = val