chainlit
chainlit copied to clipboard
Headers not populating with user supplied values
trafficstars
I am able to call the @cl.header_auth_callback , my client does this, it adds a custom test header key and value but the chainlit callback does not show the key, it only has default headers. I have also set the env key os.environ["CHAINLIT_CUSTOM_AUTH"] ="True". What am I missing?
headers = {'test-header':'test-value'} url = "http://localhost:8000" response = requests.get(headers=headers, url=url,allow_redirects=True)