Skip to content

feat: 支持配置化请求伪装以兼容不支持 PUT/DELETE 的服务 #1665

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jlau-ice
Copy link
Contributor

@jlau-ice jlau-ice commented Jun 24, 2025

  • 在生产环境中,针对 PUT/DELETE 请求,通过设置 X-HTTP-Method-Override 头实现请求方法覆盖
  • 增加全局配置项 VUE_APP_HTTP_METHOD_OVERRIDE 控制是否启用该功能,默认关闭
  • Nginx location 区块中增加对应配置以支持后端识别伪装请求方法
    [Improvement] put请求 delete 请求被防火墙拦截 #1660 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant