Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/APIParkLab/APIPark
/ parseField
Function
parseField
frontend/packages/common/src/utils/curl.ts:340–342 ·
view source on GitHub ↗
* Parse header field.
(s: string)
Source
from the content-addressed store, hash-verified
338
*/
339
340
function
parseField(s: string) {
341
return
s.split(/: (.+)/)
342
}
343
344
/**
345
* Check
if
`s` looks like a url.
Callers
1
parseCurl
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected