260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
|
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
|
-
+
|
# NOTE: This procedure escapes a single name/value pair for use in a URI
# query string. The name argument is the name of the parameter.
# The value argument is the value of the parameter.
#
proc uriEscape { name value } {
if {[isEagle]} then {
return [appendArgs \
[uri escape uri $name] = [uri escape uri $value]]
[uri escape data $name] = [uri escape data $value]]
} else {
package require http 2.0
return [::http::formatQuery $name $value]
}
}
|