Revert guest id workaround for now
Needs more testing
This commit is contained in:
parent
973ba585c7
commit
bddb6df567
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue