Coverage for src / bluetooth_sig / gatt / characteristics / http_headers.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-04-03 16:41 +0000

1"""HTTP Headers characteristic (0x2AB7).""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Utf8StringTemplate 

7 

8 

9class HTTPHeadersCharacteristic(BaseCharacteristic[str]): 

10 """HTTP Headers characteristic (0x2AB7). 

11 

12 org.bluetooth.characteristic.http_headers 

13 

14 Contains the HTTP headers of an HTTP message. 

15 """ 

16 

17 _template = Utf8StringTemplate() 

18 min_length = 0