This project provides a utility for encoding and decoding Sec-Browsing-Topics
HTTP header values. It is based on the Topics API draft specification, which can be found here.
The SecBrowsingTopicsHeader
object offers two primary functions:
- decode: Converts a
Sec-Browsing-Topics
header string into a list ofBrowsingTopic
objects.