URLOption: allow uppercase in resource name

This commit is contained in:
2015-04-19 09:46:39 +02:00
parent 2c6275ffbd
commit 072246a203
5 changed files with 40 additions and 37 deletions

View File

@ -158,3 +158,5 @@ def test_url():
c.u = 'https://foo.com:8443/'
c.u = 'https://foo.com:8443/index.html'
raises(ValueError, "c.u = 'https://foo.com:84438989'")
c.u = 'https://foo.com:8443/INDEX'
raises(ValueError, "c.u = 'https://FOO.COM:8443'")