Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-211

Add ability to specify custom HTTP response code along with redirect header

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-B1
    • Component/s: Front End
    • Labels:
      None

      Description

      Normally HTTP response code 302 (Found) is sent, when "kApplication::Redirect" method is called. However there are cases (like site migration to another software), when there is need to sent other header, like 301 (Moved Permanently).

      I propose to add "response_code" parameter to url building process, to be processed by "kApplication::Redirect" method only.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: