You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to provide a function, or perhaps a monadic action, to replace variables with their values. That way you could look them up from the environment, read them from the database, or have them depend on the current time.
If a variable appears more than once in an expression or within multiple expressions of a URI Template, the value of that variable MUST remain static throughout the expansion process (i.e., the
variable must have the same value for the purpose of calculating each expansion). However, if reserved characters or pct-encoded triplets occur in the value, they will be pct-encoded by some expression types and not by others.
So when replacing in this manner, each value must be requested at most once.
The text was updated successfully, but these errors were encountered:
It should be possible to provide a function, or perhaps a monadic action, to replace variables with their values. That way you could look them up from the environment, read them from the database, or have them depend on the current time.
There is one small wrinkle here from section 3.2.1:
So when replacing in this manner, each value must be requested at most once.
The text was updated successfully, but these errors were encountered: