Skip to content

‘Content-Type’: ‘text/event-stream’ 针对流式输出的内容可以过滤吗? #186

Description

@netsmu

‘Content-Type’: ‘text/event-stream’ 针对流式输出的内容可以过滤吗?
有些网站的输出内容是[Server-Sent Events(SSE)],我想做一些关键词过滤,如果网站返回内容包含色情内容,那么就禁止访问。 已经添加了敏感词规则库了。 但是我发现网站通过SSE输出的内容,好像没办法过滤。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions