Explorer

http.path-with-query

description
The path and query of the request (/ when it has none)
type
Fn(request: @http.request) -> String
expression
fn(request$0) =>
  match $0.path_with_query {
    #some(path$1) =>
      $1,
    #none(_) =>
      "/"
  }
visibility
public
http.path-with-query (project http, branch main, snapshot FuOge41aUHwwPZkx2JW6O-Emair6Jc-D5YsZf5cx6b0)
id: US7vsprCztLy_zJRnZljQmv_J-CjgHNO8cQ9v6DZ18A
content hash: _9AsmCFm6MXBg6ivw7XHrfaUYmv3tzFb_Jztw1O8POY