responseCookies is always empty! why ?

Posted over 1 year ago by Kathryn Thompson

Post a topic
Un Answered
K
Kathryn Thompson

 Why responseCookies is empty ?

 

import trio
import httpx


async def main():
    async with httpx.AsyncClient(base_url='https://api.zyte.com/v1/', auth=('hidden', ''), timeout=None) as client:
        data = {
            'url': 'https://legacy.com',
            'httpResponseBody': True,
            "experimental": {
                "responseCookies": True
            }
        }
        r = await client.post('extract', json=data)
        print(r.json()['experimental'])


if __name__ == "__main__":
    trio.run(main)

 

0 Votes


1 Comments

S

Sergey Geron posted over 1 year ago Admin

Hi Kathryn, this is Sergey Geron, Business Analyst at Zyte.

Thank you for reaching out through our Forum. 


Could you please create a support ticket here - https://support.zyte.com/support/tickets/new


0 Votes

Login to post a comment