Ticket #3499: docs_request_response.diff
File docs_request_response.diff, 912 bytes (added by , 18 years ago) |
---|
-
request_response.txt
413 413 Like ``HttpResponseRedirect``, but it returns a permanent redirect (HTTP 414 414 status code 301) instead of a "found" redirect (status code 302). 415 415 416 Attributes 417 ---------- 418 Both ``HttpResponseRedirect`` and ``HttpResponsePermanentRedirect`` have an additional 419 attribute indicating the target url of the redirection. 420 421 ``redirect_to`` 422 A string representing the full path to the page the request is being redirected to, 423 not including the domain. 424 425 Example: ``"/artists/ellen_burstyn/doesnt_live_here_anymore/"`` 426 416 427 ``HttpResponseNotModified`` 417 428 The constructor doesn't take any arguments. Use this to designate that a 418 429 page hasn't been modified since the user's last request.