You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Eslam3bdel3al (via GitHub)" <gi...@apache.org> on 2024/07/11 16:20:05 UTC
Re: [I] request help: Request header modification sometimes does not take effect in ext-plugin-pre-req [apisix-go-plugin-runner]
Eslam3bdel3al commented on issue #155:
URL: https://github.com/apache/apisix-go-plugin-runner/issues/155#issuecomment-2223354813
We had same issue with the **'content-length'** ,but get fixed by deleting it so it can be calculated again to the new length.
```
r.SetBody(newbody)
r.Header().Del("content-length")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org