You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "kj415j45 (via GitHub)" <gi...@apache.org> on 2023/12/15 04:05:35 UTC
[I] Add support to return other code in redirect plugin [apisix-dashboard]
kj415j45 opened a new issue, #2902:
URL: https://github.com/apache/apisix-dashboard/issues/2902
# Feature request
## Please describe your feature
Currently, the redirect plugin can only configure `ret_code` with 301 and 302 through the dashboard.
According to [MDN - Redirections](https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections), there are more HTTP codes indicating the response is a redirect.
## Describe the solution you'd like
Since the document of the redirect plugin does not specify the valid value. The dropdown selector should allow the user to manually enter a valid HTTP code.

## Describe alternatives you've considered
The dashboard should at least allow the user to select the listed redirection codes:
- 300 (Multiple Choices)
- 301 (Moved Permanently)
- 302 (Found)
- 303 (See Other)
- 304 (Not Modified)
- I'm not sure if this should be added as it's a special behavior.
- 307 (Temporary Redirect)
- 308 (Permanent Redirect)
## Additional context
None
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add support to return other code in redirect plugin [apisix-dashboard]
Posted by "juzhiyuan (via GitHub)" <gi...@apache.org>.
juzhiyuan closed issue #2902: Add support to return other code in redirect plugin
URL: https://github.com/apache/apisix-dashboard/issues/2902
--
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
Re: [I] Add support to return other code in redirect plugin [apisix-dashboard]
Posted by "hanqingwu (via GitHub)" <gi...@apache.org>.
hanqingwu commented on issue #2902:
URL: https://github.com/apache/apisix-dashboard/issues/2902#issuecomment-1874994156
I think you can try Raw Data Editor to achieve 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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add support to return other code in redirect plugin [apisix-dashboard]
Posted by "juzhiyuan (via GitHub)" <gi...@apache.org>.
juzhiyuan commented on issue #2902:
URL: https://github.com/apache/apisix-dashboard/issues/2902#issuecomment-2814378426
Refer to https://github.com/apache/apisix-dashboard/issues/2981
--
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