dub icon indicating copy to clipboard operation
dub copied to clipboard

[Feature] 301 and 302 redirect

Open meladeayol2 opened this issue 1 year ago • 4 comments

I would like to request a new feature to add support for 301 and 302 redirections in the project. Currently, the project only supports one type of redirection which is 307, and it would be helpful to have more options available.

meladeayol2 avatar Apr 28 '23 16:04 meladeayol2

Great suggestion! I've seen this as a feature on other platforms as well so definitely interested in adding it. What's your use case?

steven-tey avatar May 15 '23 14:05 steven-tey

Would love to see this too!

timb-103 avatar Mar 06 '24 22:03 timb-103

@steven-tey would love to see this, my use-case would be for git clone'ing from a short link — does not seem to be possible unless redirect is 301.

Edit: would love to see an advanced menu where I can select the type of redirect per link (301 or 302, etc.)

kylemclaren avatar Apr 09 '24 20:04 kylemclaren

Forgot to update this issue – we recently shipped some changes to the URL redirect status codes on Dub: https://dub.co/changelog/redirect-status-codes

@kylemclaren Still need to add support for link-specific redirect status codes – will get this shipped soon!

steven-tey avatar Apr 11 '24 15:04 steven-tey