Commit 542950d
committed
Allow case-insensitive Authorization header lookup
Since reqwest downcases header names:
> Header names are normalized to lower case. In other words, when
> creating a HeaderName with a string, even if upper case characters are
> included, when getting a string representation of the HeaderName, it
> will be all lower case. This allows for faster HeaderMap comparison
> operations.
https://docs.rs/reqwest/latest/reqwest/header/index.html#headername1 parent 022ee5e commit 542950d
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
| |||
125 | 134 | | |
126 | 135 | | |
127 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
128 | 142 | | |
129 | 143 | | |
130 | 144 | | |
| |||
0 commit comments