Commit d10f49a
fix(azure-function): handle single or multiple cookies at once (#525)
* Fix Azure Cookie - Handle single or multiple cookies at once
headers['set-cookie'] can be a string of one cookie, or an array of cookies
headerCookies should always be an array
* Fix tests - No more "response.cookies: []" when no cookie
Sorry about that
Co-authored-by: Brett Andrews <[email protected]>1 parent c630868 commit d10f49a
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
0 commit comments