<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rdflib.git/test/test_graph_http.py, branch Sweb</title>
<subtitle>github.com: rdflib/rdflib.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/'/>
<entry>
<title>Add handling for 308 (Permanent Redirect)</title>
<updated>2021-06-23T22:52:17+00:00</updated>
<author>
<name>Iwan Aucamp</name>
<email>aucampia@gmail.com</email>
</author>
<published>2021-06-23T22:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rdflib.git/commit/?id=5f43738f15c2c7de6d2bb493f050be0c37eaa995'/>
<id>5f43738f15c2c7de6d2bb493f050be0c37eaa995</id>
<content type='text'>
Some/all supported versions of python does not handle 308 (Permanent
Redirect) in `urlopen`.

See https://bugs.python.org/issue40321 for more info on this.

This patch adds handling for 308 in rdflib.

I also extracted the HTTP mock from `test_sparqlstore.py` and
reused it in test_conneg.

Any feedback on it will be appreciated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some/all supported versions of python does not handle 308 (Permanent
Redirect) in `urlopen`.

See https://bugs.python.org/issue40321 for more info on this.

This patch adds handling for 308 in rdflib.

I also extracted the HTTP mock from `test_sparqlstore.py` and
reused it in test_conneg.

Any feedback on it will be appreciated.
</pre>
</div>
</content>
</entry>
</feed>
