Coverage for aiocoap/numbers/uri_path_abbrev.py: 100%

1 statements  

« prev     ^ index     » next       coverage.py v7.10.7, created at 2025-09-27 00:47 +0000

1# SPDX-FileCopyrightText: Christian Amsüss and the aiocoap contributors 

2# 

3# SPDX-License-Identifier: MIT 

4 

5"""List of values of the Uri-Path-Abbrev option. 

6 

7This is has no public members while the interface is being explored. 

8""" 

9 

10# From draft-ietf-core-uri-path-abbrev-latest, until there's an actually 

11# established registry. 

12 

13_map = { 

14 0: (".well-known", "core"), 

15 1: (".well-known", "rd"), 

16 2: (".well-known", "edhoc"), 

17 301: (".well-known", "est", "crts"), 

18 302: (".well-known", "est", "sen"), 

19 303: (".well-known", "est", "sren"), 

20 304: (".well-known", "est", "skg"), 

21 305: (".well-known", "est", "skc"), 

22 306: (".well-known", "est", "att"), 

23 401: (".well-known", "brski", "es"), 

24 402: (".well-known", "brski", "rv"), 

25 403: (".well-known", "brski", "vs"), 

26}