Commit 9a6a87f
[repo-assist] fix: skip empty Cookie header when no cookie parameters are present (#454)
* fix: skip empty Cookie header when no cookie parameters are present
When an API operation has no cookie parameters (the common case),
OperationCompiler was always prepending ("Cookie", "") to the headers
list. fillHeaders only filters null values — not empty strings — so
the empty Cookie: header was sent with every request.
Fix: only prepend the Cookie header when cookieHeader is non-empty.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: trigger checks
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergey Tihon <sergey.tihon@gmail.com>1 parent 8bb4b1f commit 9a6a87f
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
369 | 372 | | |
370 | 373 | | |
371 | 374 | | |
| |||
0 commit comments