aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/HTTPRequest.py
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-10-19 17:40:37 +0200
committerselias <samelias@cisco.com>2016-10-20 10:56:20 +0200
commit4a16abbba4ffac705b3ac389421dd21e78457cc0 (patch)
treeb19926bc6a46372e2d4ecc8b6374240f14d5936f /resources/libraries/python/HTTPRequest.py
parent811b8dc97ccf12952d5ec460bb0a421ce8933326 (diff)
CSIT-427: Honeycomb ietf-ACL tests - L4 and misc.
- add test cases for: L4 port range ACLs multiple classify rules L2 ACL on egress interface - add L4 configuration to mixed ACL test - add test variables for new test cases - update HTTPRequests to treat code 201 as a positive response Change-Id: If43007545fec174af12dab594f8a1b15b2e4a536 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/python/HTTPRequest.py')
-rw-r--r--resources/libraries/python/HTTPRequest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/libraries/python/HTTPRequest.py b/resources/libraries/python/HTTPRequest.py
index 567ac791b7..1f5df52c01 100644
--- a/resources/libraries/python/HTTPRequest.py
+++ b/resources/libraries/python/HTTPRequest.py
@@ -32,6 +32,7 @@ from requests.auth import HTTPBasicAuth
class HTTPCodes(IntEnum):
"""HTTP status codes"""
OK = 200
+ ACCEPTED = 201
UNAUTHORIZED = 401
FORBIDDEN = 403
NOT_FOUND = 404