I’m getting infinite redirects [1] - using an apache proxy and even when going inside the docker.
From the code [2] it looks like I might need a ‘key’ or something in the url - but I can’t work out what that might be:
# curl -I localhost:8000/licenses/available/?name=AffinityDesigner
HTTP/1.1 301 Moved Permanently
Server: nginx/1.4.6 (Ubuntu)
Date: Tue, 21 May 2019 13:33:55 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Vary: Cookie
Location: /licenses/available/?name=AffinityDesigner
P3P: CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV”
[2]
urlpatterns = [
url(r'^$', license_index, name='license_index'),
url(r'^available/(?P<key>.+)', available),
url(r'^available/(?P<key>.+)(?P<item_name>[^/]+)$', available),
--
Merlin Hartley
Computer Officer
MRC Mitochondrial Biology Unit
University of Cambridge
Cambridge, CB2 0XY
United Kingdom