Skip to content

feedback: Module uri | Tarantool #3145

@TarantoolBot

Description

@TarantoolBot

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() and uri: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:string

Example:
|tarantool> uri.format({host = 'x.html', scheme = 'http', fragment = '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

Metadata

Metadata

Assignees

Labels

reference[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions