diff options
author | hewei-cmss <hewei@cmss.chinamobile.com> | 2019-04-28 16:22:14 +0800 |
---|---|---|
committer | hewei-cmss <hewei@cmss.chinamobile.com> | 2019-04-28 16:57:12 +0800 |
commit | 79e83b3550bcaa3da0fa86da8925d2f1347a5e2b (patch) | |
tree | 0d65cc1bc5f3552113f2557b21536aa4d75c9299 /catalog/packages/tests/test_ns_descriptor.py | |
parent | b4159c4ce6a5fd66ba407fd3ed42daa25a839ffa (diff) |
Fix RANGE to HTTP_RANGE in request.META
It should be HTTP_RANGE in META, most params will be changed
to format of HTTP_* in headers.
Issue-ID: VFC-1367
Change-Id: If9afff6ab124ff1ed0c978f26542b63585126fd7
Signed-off-by: hewei-cmss <hewei@cmss.chinamobile.com>
Diffstat (limited to 'catalog/packages/tests/test_ns_descriptor.py')
-rw-r--r-- | catalog/packages/tests/test_ns_descriptor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog/packages/tests/test_ns_descriptor.py b/catalog/packages/tests/test_ns_descriptor.py index f26ec394..d156843a 100644 --- a/catalog/packages/tests/test_ns_descriptor.py +++ b/catalog/packages/tests/test_ns_descriptor.py @@ -248,7 +248,7 @@ class TestNsDescriptor(TestCase): response = self.client.get( "/api/nsd/v1/ns_descriptors/23/nsd_content", - RANGE='5-10', + HTTP_RANGE='5-10', format='json' ) partial_file_content = '' |