Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: 新增 response 拦截器,目前暂时只支持替换响应头。 #295

Merged

Conversation

wangliang181230
Copy link
Contributor

@wangliang181230 wangliang181230 commented Apr 13, 2024

feature: 新增 responseReplace 拦截器,目前暂时只支持替换响应头。

注:由 replace 重命名为 replaceReplace 的Commit:1569026


配置方法:

{
    "xxx.com": {
        "/xxxxxxx.js": {
            "responseReplace": {
                "headers": {
                    "content-type": "application/javascript; charset=utf-8"
                }
            }
        }
    }
}

@wangliang181230 wangliang181230 merged commit 97de211 into docmirror:master Apr 13, 2024
@wangliang181230 wangliang181230 deleted the response-interceptor branch April 13, 2024 19:47
@wangliang181230 wangliang181230 added this to the 1.8.1 milestone Apr 15, 2024
@wangliang181230 wangliang181230 added Feature 新特性PR v1.8.1 1.8.1版本 labels Apr 18, 2024
@wangliang181230 wangliang181230 removed the v1.8.1 1.8.1版本 label Apr 28, 2024
@wangliang181230 wangliang181230 added the v1.8.1 1.8.1版本 label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature 新特性PR v1.8.1 1.8.1版本
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant