[issue16713] "tel" URIs should support params

Amaury Forgeot d'Arc report at bugs.python.org
Tue Dec 18 16:36:03 CET 2012


Amaury Forgeot d'Arc added the comment:

I don't know whether 'tel' is a common scheme, but it's easy to add it to urlparse from the outside:

>>> urlparse.uses_param.append('tel')
>>> urlparse.urlparse('tel:7042;phone-context=example.com')
ParseResult(scheme='tel', netloc='', path='7042', params='phone-context=example.com', query='', fragment='')

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16713>
_______________________________________


More information about the Python-bugs-list mailing list