Re: [I] bug: Conte type request header has been rewritten [apisix]

2024-03-29 Thread via GitHub


shreemaan-abhishek commented on issue #11085:
URL: https://github.com/apache/apisix/issues/11085#issuecomment-2027938159

   I agree with @SilentEntity, it's very likely that something is wrong in your 
code. You may want to give a try with a bare minimum java plugin and see if the 
error exists there.
   
   Also, one of your screenshots didn't get uploaded correctly.
   
![image](https://github.com/apache/apisix/assets/61597896/270a743a-e6df-43e3-87eb-05c782d2e601)
   


-- 
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-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] bug: Conte type request header has been rewritten [apisix]

2024-03-24 Thread via GitHub


SilentEntity commented on issue #11085:
URL: https://github.com/apache/apisix/issues/11085#issuecomment-2017313797

   Need more info on apisix configs, upstream and route. And if any global 
rules(if present).


-- 
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-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[I] bug: Conte type request header has been rewritten [apisix]

2024-03-24 Thread via GitHub


baicaiclouds opened a new issue, #11085:
URL: https://github.com/apache/apisix/issues/11085

   ### Current Behavior
   
   When customizing the API plugin with Java, the Content type response header 
is rewritten, and the proxy response header is application/JSON. The value of 
the context type returned through the custom plugin becomes text/plain; 
Charset=utf-8, how to solve this problem?
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1、Customize Java plugins
   2、run
   3、watch response
   
![image](https://github.com/apache/apisix/assets/48907451/b11a2940-d768-4629-9c43-234b80493bc9)
   ![Uploading image.png…]()
   
   ### Environment
   
   - APISIX version 3.1.0


-- 
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-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org