Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Calculadora

0

54
Vistas
How to handle multiple set-cookie values in react-native?

Development environment: - nginx v1.14 on ubuntu 16 - React-Native v0.57

I'm using a frappe REST API and the login request returns multiple cookies and I'm getting the later value, the rest are replaced. But, the data I'm looking for is sent first(sid and expires data), as I checked it on Insomnia, it got replaced by another attribute. How can I handle multiple 'Set-Cookie' values sent separately? insomnia reponse

fetch request log

9 months ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Looks like this is a known bug in React Native version <0.60.

Here is the GitHub issue about it: https://github.com/facebook/react-native/issues/26280

Here is the PR that fixes it: https://github.com/facebook/react-native/pull/27066

Try upgrading your React Native version to the latest?

9 months ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar empleo Planes Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2023 PeakU Inc. All Rights Reserved.