Handbook
Glossary
adjust-url ( url -- url' )
Furnace framework
ยป
Furnace extension points
Prev:
modify-form ( responder -- xml/f )
Next:
adjust-redirect-url ( url -- url' )
Vocabulary
furnace
.
utilities
Inputs
url
an
url
Outputs
url'
an
url
Word description
Adjusts a link URL by filtering the URL's query parameters through the
modify-query
generic word on every responder involved in handling the current request.
Definition
IN:
furnace.utilities
GENERIC:
adjust-url
( url -- url' )
Methods
USING:
furnace.utilities
strings
;
M:
string
adjust-url
;
USING:
accessors
furnace.utilities
http.server.redirection
kernel
urls
;
M:
url
adjust-url
clone
[
[
modify-query
]
each-responder
]
change-query
[
resolve-base-path
]
change-path
relative-to-request
;