chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Headers not populating with user supplied values

Open umeshrajanna opened this issue 3 months ago • 24 comments
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)

umeshrajanna avatar Jul 27 '25 04:07 umeshrajanna