--- /dev/null
+# Description
+
+Test http content range logging.
+
+# PCAP
+
+The pcap comes from running
+`curl http://i.imgur.com/z4d4kWk.jpg -i -H "Range: bytes=500-1000"`
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+
+# disables checksum verification
+args:
+ - -k none
+
+checks:
+
+ # Check that there is one file event with content range.
+ - filter:
+ count: 1
+ match:
+ event_type: fileinfo
+ http.content_range.raw: bytes 500-1000/146515
+ http.content_range.start: 500
+ http.content_range.end: 1000
+ http.content_range.size: 146515
+ fileinfo.start: 500
+ fileinfo.end: 1000