http.query
- description
- The query string of the request without ? ('' when it has none)
- 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 => "", false => @core.string-slice(value: $1, start: @core.plus(left: $2, right: 1), end: @core.string-length(value: $1)) }
- visibility
- public
http.query (project http, branch main, snapshot FuOge41aUHwwPZkx2JW6O-Emair6Jc-D5YsZf5cx6b0) id: yfuR1BmyV7kPNLUlKccW2JO9urjkQNFEeoaTgGCrRRk content hash: JSrfrJ59q8aNl3XGHcPIHuEId4aja3qBloutTTUQeqs