http.path
- description
- The path of the request without the query
- type
Fn(request: @http.request) -> String
- expression
fn(request$0) => let target$1 = @http.path-with-query(request: $0); let index$2 = @core.string-index-of(text: $1, target: "?", start: 0); match @core.less-than(left: $2, right: 0) { true => $1, false => @core.string-slice(value: $1, start: 0, end: $2) }
- visibility
- public
http.path (project http, branch main, snapshot FuOge41aUHwwPZkx2JW6O-Emair6Jc-D5YsZf5cx6b0) id: 8hn_vikzFcGO6AB7JozYmIDwq688lN5khtX301FBTkw content hash: fV9xPFJ5tLt7aHKYMDC-cKahn2uyg_Iw_us_Uc4znbo