jhen0409 / jhen0409/react-native-debugger

开启 debugger 后 axios 请求 不同大小写的 header 合并了?

Aperta
#482 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature/network-inspect help wanted
Lingua principale
JavaScript
Stelle
10.4k
Fork
815
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![image](https://user-images.githubusercontent.com/22340685/77888384-bed12c00-729e-11ea-838f-5651c103e71d.png)

如上图,jlbSessionId 和 JLBSESSIONID 合并了,这导致出现了退出登入的问题,axios 本身不会将不同大小写的 header 合并,建议 debugger 遵循此原则。

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue names no files, tests, or entry points. Start by reproducing the axios request with debugger enabled and differently cased headers, then trace where the debugger combines them. Done means the debugger preserves distinct header casing as axios does and the logout regression is covered.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
devtools
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.