Skip to content
Commit 65f767f0 authored by Piotr Radecki's avatar Piotr Radecki Committed by Benjamin Cabé
Browse files

net: lib http: Added tests for Content-Range to http parser.



Three tests has been added for Content-Range functionality in http
parser:
- test_content_range_supplied: Checks if parser handles range correctly.
- test_content_range_asterisk_total: Checks if parser interprets
astersk as no total size supplied.
- test_double_content_range_error: Checks if parser rejects header with
repeated Content-Range field.

Signed-off-by: default avatarPiotr Radecki <piotr.radecki@jrdltd.co.uk>
parent d572ebb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment