2011-10-28 4 views

risposta

9

È possibile utilizzare l'intestazione Location con un codice di risposta nel 3xx-range.

Per un esempio:

HTTP/1.1 302 Found 
Location: /my/server/page.html 
2

301 e 302 codici HTTP possono essere utilizzati per reindirizzare le richieste, in questo modo:

HTTP/1.1 302 Object moved 
Date: Fri, 28 Oct 2011 10:37:34 GMT 
Server: Microsoft-IIS/6.0 
X-Powered-By: ASP.NET 
Location: http://www.xyz.com/abc 
Problemi correlati