我有一個捲曲的請求返回HTTP 301 Django視圖:Django返回HTTP 301?
grapefruit:~ pete$ curl -I http://someurl
HTTP/1.1 301 MOVED PERMANENTLY
Date: Fri, 16 Oct 2009 19:01:08 GMT
Server: Apache/2.2.9 (Win32) mod_wsgi/2.5 Python/2.6.2 PHP/5.2.6
Location: http://someurl
Content-Type: text/html; charset=utf-8
我不能得到捲曲頁面的內容。但是,如果我使用瀏覽器訪問該頁面,則會看到預期的內容。
任何想法?
感謝, 皮特
謝謝,完全正確! – slypete 2009-10-16 19:19:15
有完全一樣的東西 – miki725 2011-07-11 13:00:26