nginx rewrite之后post参数丢失问题

时间:2020-01-17 11:01:35   收藏:0   阅读:1000

系统改版,请求链接发生了变化,为了兼容旧用户的请求,做了rewrite的处理

但是发现post请求参数丢失的现象

后面发现可以通过return 307来替换rewrite的写法解决这个问题

要点主要在于http的307返回码定义:

https://tools.ietf.org/html/rfc2616#section-10.3.8

记录下来下

 

https://tools.ietf.org/html/rfc2616#section-10.3.8

原文:https://www.cnblogs.com/amoy9812/p/12204177.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!