-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
reference[location] Tarantool manual, Reference part[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality[area] Task relates to Tarantool's server (core) functionality
Description
Product: Tarantool
Audience/target: developers
Root document: https://github.com/tarantool/doc/blob/latest/doc/reference/reference_lua/uri.rst
Details
Current text:
"Possible components are fragment, host, login, password, path, query, scheme, service."
- Mention missing "unix" description
- List and briefly describe the components of the table both for
uri:format()anduri:parse - Provide more illustrative examples like "scheme://login:password@host:service/path1/path2/path3?q1=v1&q2=v2&q3=v3:1|v3:2#fragment" (see test)
<…>t() is the reverse of uri.parse().
Return type:stringExample:
|tarantool> uri.format({host = 'x.html', scheme = 'http', fragment = 'y'})
|---
http://x.html#y
...<…>
https://www.tarantool.io/en/doc/latest/reference/reference_lua/uri/
Missed description for login, password, service, unix, path and query.
See examples in https://github.com/tarantool/tarantool/blob/master/test/app-tap/uri.test.lua
ligurio
Metadata
Metadata
Assignees
Labels
reference[location] Tarantool manual, Reference part[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality[area] Task relates to Tarantool's server (core) functionality