You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit feedb5e
Browse filesBrowse the repository at this point in the historyBrowse files
test: cover createHttpRequestFromQueryLists and fillHeadersAndCookies
Address Copilot review feedback on PR #455 by adding focused
RuntimeHelpersTests for the two new helpers:
createHttpRequestFromQueryLists:
- flattens multiple query lists into the request URI
- strips leading slash when all lists are empty
- strips leading slash when all inner lists are empty
- skips null-valued pairs across multiple lists
- produces no query string when all values are null
- preserves the HTTP method
fillHeadersAndCookies:
- emits Cookie header with canonical '; ' separator
- single cookie has no separator
- skips null cookie values
- omits Cookie header when all values are null
- omits Cookie header when cookie list is empty
- still adds normal headers via fillHeaders
- still skips null-value headers
0 commit comments