1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

patch from Richard Jones to save the query part in raw form. also added

* uri.c include/libxml/uri.h: patch from Richard Jones to save
  the query part in raw form.
* libxml2-python-api.xml: also added accessor for the python bindings
Daniel

svn path=/trunk/; revision=3608
This commit is contained in:
Daniel Veillard
2007-04-26 08:45:23 +00:00
parent a1413b84f7
commit 63cf1b9909
3 changed files with 14 additions and 0 deletions

View File

@@ -265,6 +265,17 @@
<arg name='URI' type='xmlURIPtr' info='the URI'/>
<arg name='query' type='char *' info='The URI query part'/>
</function>
<function name='xmlURIGetQueryRaw' file='python_accessor'>
<info>Get the raw query part from an URI (i.e. the unescaped form).</info>
<return type='const char *' info="The URI query" field="query_raw"/>
<arg name='URI' type='xmlURIPtr' info='the URI'/>
</function>
<function name='xmlURISetQueryRaw' file='python_accessor'>
<info>Set the raw query part of an URI (i.e. the unescaped form).</info>
<return type='void'/>
<arg name='URI' type='xmlURIPtr' info='the URI'/>
<arg name='query_raw' type='char *' info='The raw URI query part'/>
</function>
<function name='xmlURIGetFragment' file='python_accessor'>
<info>Get the fragment part from an URI</info>
<return type='const char *' info="The URI fragment" field="fragment"/>

View File

@@ -945,6 +945,7 @@ Class URI()
path()
port()
query()
queryRaw()
scheme()
server()
setAuthority()
@@ -953,6 +954,7 @@ Class URI()
setPath()
setPort()
setQuery()
setQueryRaw()
setScheme()
setServer()
setUser()