You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Headers are case insensetive while accessing directly from request. request.headers.get('Authorization') and request.headers.get('AUTHorization') gives the result. But with the headers context and accessing the Header with bracket notation, the case matters. In the headers context, all the headers are saved on lower case. thus we need to use headers['authorization'] and same for other and custom headers.
We need to fix the snippet, and need to mention about it on the Documentation as well.
What is the type of issue?
No response
What is the issue?
Headers are case insensetive while accessing directly from request.
request.headers.get('Authorization')
andrequest.headers.get('AUTHorization')
gives the result. But with the headers context and accessing the Header with bracket notation, the case matters. In the headers context, all the headers are saved on lower case. thus we need to useheaders['authorization']
and same for other and custom headers.We need to fix the snippet, and need to mention about it on the Documentation as well.
Where did you find it?
While going from top in the documentation.
Encountered on Essential -> Context -> Derive.
The text was updated successfully, but these errors were encountered: