open-uri (and the libraries it builds on) don’t seem to be able to
load resources from hosts with alternate port numbers.
I 'm getting a OpenURI::HTTPError: 500 Internal Server Error when
using open-uri to load from the following location:
r = open(‘http://tels-develop.soe.berkeley.edu:8080/maven-jnlp/
pedagogica-emf.jnlp’)
If instead I load it from a host without the 8080 port it works fine:
r = open(‘http://teemss.concord.org/testjnlp/pedagogica-emf.jnlp’)
Any ideas on where the problem is?
For now I am working around this by using curl through a shell:
r = curl -s http://tels-develop.soe.berkeley.edu:8080/maven-jnlp/ pedagogica-emf.jnlp
-Stephen