Sites with internationalized domain names often want to respond to HTTP requests with a redirect status code (3XX). When they do, they will want to put the redirect target in the header Location.
If a website wants to use an absolute URI in the header Location, how should they provide their domain name? In particular, should IDNA be encoded or not?
(I assume that if it is not IDNA encoded, it should be encoded using RFC 2047, but if it is wrong, let me know.)
source
share