palate 0.3.8

File type detection combining tft and hyperpolyglot
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "type": "record",
    "name": "Response",
    "namespace": "org.rflow.message.data.http",
    "aliases": [],
    "fields": [
        {"name": "client_ip",    "type": ["string", "null"]},
        {"name": "client_port",  "type": ["int", "null"]},
        {"name": "server_ip",    "type": ["string", "null"]},
        {"name": "server_port",  "type": ["int", "null"]},

        {"name": "protocol",             "type": "string"},
        {"name": "status_code",          "type": "int"},
        {"name": "status_reason_phrase", "type": "string"},
        {"name": "headers",              "type": {"type": "map", "values": "string"}},
        {"name": "content",              "type": "bytes"}
    ]
}