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.
   
   
![image](https://github.com/apache/apisix-dashboard/assets/18349191/35ac4591-027f-4b35-b318-166af2a26bc6)
   
   ## 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to