You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/03/09 13:38:22 UTC

[GitHub] [incubator-apisix] agile6v opened a new issue #1226: GSoC: Support follow redirect

agile6v opened a new issue #1226: GSoC: Support follow redirect
URL: https://github.com/apache/incubator-apisix/issues/1226
 
 
   When a client request passes through APISIX to upstream, if upstream returns 301 or 302 and then APISIX returns directly to the client by default. The client receives 301 or 302 response and then initiates the request again based on the address specified by Location. Sometimes the client wants APISIX to help it do this, so APISIX can provide this capability to support more scenarios.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [apisix] membphis commented on issue #1226: feature: Support follow redirect

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1226:
URL: https://github.com/apache/apisix/issues/1226#issuecomment-704008553


   @liuhengloveyou Do you know how to implement this feature?


----------------------------------------------------------------
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.

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



[GitHub] [apisix] spacewander closed issue #1226: feature: Support follow redirect

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #1226:
URL: https://github.com/apache/apisix/issues/1226


   


-- 
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



[GitHub] [apisix] spacewander commented on issue #1226: feature: Support follow redirect

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #1226:
URL: https://github.com/apache/apisix/issues/1226#issuecomment-704156541


   IMHO, I don't like this idea because it doesn't obey the HTTP "convention". Clients like curl can follow redirect because they are clients, but let the proxy follow the redirect looks bad to me. Is there a strong reason to add this feature?
   
   Considering client request a domain A with A's cookie, and A redirects the Client to domain B.
   When client requests to domain B, it will take the B's cookie with it.
   
   If we consume the redirect, there is no way for us to know the domain B's cookie and create a request with the cookie attached.
   
   There will be some trouble with cache and TLS too, maybe something else which haven't come to my mind yet.


----------------------------------------------------------------
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.

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



[GitHub] [apisix] liuhengloveyou commented on issue #1226: feature: Support follow redirect

Posted by GitBox <gi...@apache.org>.
liuhengloveyou commented on issue #1226:
URL: https://github.com/apache/apisix/issues/1226#issuecomment-700377697


   It's a useful feature,we can schedule to implement it.


----------------------------------------------------------------
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.

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