Merge "NetApp unit test fail fix for http_proxy"
This commit is contained in:
commit
7e9fe34523
@ -97,7 +97,7 @@ class FakeDirectCMODEServerHandler(FakeHTTPRequestHandler):
|
|||||||
|
|
||||||
def do_GET(s):
|
def do_GET(s):
|
||||||
"""Respond to a GET request."""
|
"""Respond to a GET request."""
|
||||||
if '/servlets/netapp.servlets.admin.XMLrequest_filer' != s.path:
|
if '/servlets/netapp.servlets.admin.XMLrequest_filer' not in s.path:
|
||||||
s.send_response(404)
|
s.send_response(404)
|
||||||
s.end_headers
|
s.end_headers
|
||||||
return
|
return
|
||||||
@ -111,7 +111,7 @@ class FakeDirectCMODEServerHandler(FakeHTTPRequestHandler):
|
|||||||
|
|
||||||
def do_POST(s):
|
def do_POST(s):
|
||||||
"""Respond to a POST request."""
|
"""Respond to a POST request."""
|
||||||
if '/servlets/netapp.servlets.admin.XMLrequest_filer' != s.path:
|
if '/servlets/netapp.servlets.admin.XMLrequest_filer' not in s.path:
|
||||||
s.send_response(404)
|
s.send_response(404)
|
||||||
s.end_headers
|
s.end_headers
|
||||||
return
|
return
|
||||||
@ -683,7 +683,7 @@ class FakeDirect7MODEServerHandler(FakeHTTPRequestHandler):
|
|||||||
|
|
||||||
def do_GET(s):
|
def do_GET(s):
|
||||||
"""Respond to a GET request."""
|
"""Respond to a GET request."""
|
||||||
if '/servlets/netapp.servlets.admin.XMLrequest_filer' != s.path:
|
if '/servlets/netapp.servlets.admin.XMLrequest_filer' not in s.path:
|
||||||
s.send_response(404)
|
s.send_response(404)
|
||||||
s.end_headers
|
s.end_headers
|
||||||
return
|
return
|
||||||
@ -697,7 +697,7 @@ class FakeDirect7MODEServerHandler(FakeHTTPRequestHandler):
|
|||||||
|
|
||||||
def do_POST(s):
|
def do_POST(s):
|
||||||
"""Respond to a POST request."""
|
"""Respond to a POST request."""
|
||||||
if '/servlets/netapp.servlets.admin.XMLrequest_filer' != s.path:
|
if '/servlets/netapp.servlets.admin.XMLrequest_filer' not in s.path:
|
||||||
s.send_response(404)
|
s.send_response(404)
|
||||||
s.end_headers
|
s.end_headers
|
||||||
return
|
return
|
||||||
|
@ -75,7 +75,7 @@ class FakeDirectCMODEServerHandler(FakeHTTPRequestHandler):
|
|||||||
|
|
||||||
def do_GET(s):
|
def do_GET(s):
|
||||||
"""Respond to a GET request."""
|
"""Respond to a GET request."""
|
||||||
if '/servlets/netapp.servlets.admin.XMLrequest_filer' != s.path:
|
if '/servlets/netapp.servlets.admin.XMLrequest_filer' not in s.path:
|
||||||
s.send_response(404)
|
s.send_response(404)
|
||||||
s.end_headers
|
s.end_headers
|
||||||
return
|
return
|
||||||
@ -89,7 +89,7 @@ class FakeDirectCMODEServerHandler(FakeHTTPRequestHandler):
|
|||||||
|
|
||||||
def do_POST(s):
|
def do_POST(s):
|
||||||
"""Respond to a POST request."""
|
"""Respond to a POST request."""
|
||||||
if '/servlets/netapp.servlets.admin.XMLrequest_filer' != s.path:
|
if '/servlets/netapp.servlets.admin.XMLrequest_filer' not in s.path:
|
||||||
s.send_response(404)
|
s.send_response(404)
|
||||||
s.end_headers
|
s.end_headers
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user