summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_request_obj.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-04-30 11:45:18 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-04-30 11:45:18 -0400
commitbaf1cfad6a76e98adc078f36a70a5ceecd6138fb (patch)
tree61ccef2f4f66a3fb56863db1d03098deb24c4439 /cherrypy/test/test_request_obj.py
parent32a163ca17e1c3d78945ad2214e6c1fb5a8e0bf1 (diff)
parent7f77d77d18234382582c8a3a3e2a526841e900ba (diff)
downloadcherrypy-baf1cfad6a76e98adc078f36a70a5ceecd6138fb.tar.gz
Merge https://bitbucket.org/cherrypy/cherrypy/pull-requests/125/
Diffstat (limited to 'cherrypy/test/test_request_obj.py')
-rw-r--r--cherrypy/test/test_request_obj.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/cherrypy/test/test_request_obj.py b/cherrypy/test/test_request_obj.py
index a74ddddf..58736b54 100644
--- a/cherrypy/test/test_request_obj.py
+++ b/cherrypy/test/test_request_obj.py
@@ -184,7 +184,7 @@ class RequestObjectTests(helper.CPWebCase):
return cherrypy.request.headers[headername]
def doubledheaders(self):
- # From https://bitbucket.org/cherrypy/cherrypy/issue/165:
+ # From https://github.com/cherrypy/cherrypy/issues/165:
# "header field names should not be case sensitive sayes the
# rfc. if i set a headerfield in complete lowercase i end up
# with two header fields, one in lowercase, the other in
@@ -643,7 +643,7 @@ class RequestObjectTests(helper.CPWebCase):
"en;q=0.7")
# Test malformed header parsing. See
- # https://bitbucket.org/cherrypy/cherrypy/issue/763.
+ # https://github.com/cherrypy/cherrypy/issues/763.
self.getPage("/headerelements/get_elements?headername=Content-Type",
# Note the illegal trailing ";"
headers=[('Content-Type', 'text/html; charset=utf-8;')])
@@ -652,7 +652,7 @@ class RequestObjectTests(helper.CPWebCase):
def test_repeated_headers(self):
# Test that two request headers are collapsed into one.
- # See https://bitbucket.org/cherrypy/cherrypy/issue/542.
+ # See https://github.com/cherrypy/cherrypy/issues/542.
self.getPage("/headers/Accept-Charset",
headers=[("Accept-Charset", "iso-8859-5"),
("Accept-Charset", "unicode-1-1;q=0.8")])
@@ -738,7 +738,7 @@ class RequestObjectTests(helper.CPWebCase):
self.assertBody(b)
# Request a PUT method with a file body but no Content-Type.
- # See https://bitbucket.org/cherrypy/cherrypy/issue/790.
+ # See https://github.com/cherrypy/cherrypy/issues/790.
b = ntob("one thing on top of another")
self.persistent = True
try:
@@ -757,7 +757,7 @@ class RequestObjectTests(helper.CPWebCase):
self.persistent = False
# Request a PUT method with no body whatsoever (not an empty one).
- # See https://bitbucket.org/cherrypy/cherrypy/issue/650.
+ # See https://github.com/cherrypy/cherrypy/issues/650.
# Provide a C-T or webtest will provide one (and a C-L) for us.
h = [("Content-Type", "text/plain")]
self.getPage("/method/reachable", headers=h, method="PUT")