r2 - 05 Apr 2007 - 20:58:39 - ChristianFoliniYou are here: TWiki >  Main Web > Task51Start

Task51Start - Optional custom status codes and optional redirect targets

See TasksExplained? for more infos about tasks. This task is based on the template at TaskTemplateStart

Status : closed
Category : gui
Date opened : 2007-04-05
Description : Optional custom status codes and optional redirect targets
Referenced in stories/tasks : WebStatistics
Testsuite : test/functional/rules_generator_test.rb
Commited revision : 196

Remarks :

  • There is need for optional status code when mandatory elements are missing.
  • There is need for optional status code when parameter domain is not met.
  • Redirect targets come into action, when custom status code is 3xx.

According to RFC 2616, the following status codes should come with a location (redirect) header in the response:

  • 300
  • 301
  • 302
  • 303
  • 305
  • 307

Note that 304 and 306 (reserved) should not reply with a redirect. Remo will thus ignore the location field with these status codes.


Changelog

2007-05-04 - added db fields

  • Table:field
  • headers:mandatory_status_code
  • querystringparameters:mandatory_status_code
  • cookieparameters:mandatory_status_code
  • postparameters:mandatory_status_code

  • headers:mandatory_location
  • querystringparameters:mandatory_location
  • cookieparameters:mandatory_location
  • postparameters:mandatory_location

  • headers:domain_status_code
  • querystringparameters:domain_status_code
  • cookieparameters:domain_status_code
  • postparameters:domain_status_code

  • headers:domain_location
  • querystringparameters:domain_location
  • cookieparameters:domain_location
  • postparameters:domain_location

2007-05-04 - gui and rule editor done

I rewrote the whole tests for the rule editor. Simpified it by testing the subfunctions and not the overall generated ruleset anymore.

TaskStati
TaskStatus? closed
Task-Categories gui
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
Main.TaskTemplateStart moved from Main.TaskTemplate on 19 Jan 2007 - 12:41 by ChristianFolini
 

No permission to view WebTopBar?

No permission to view WebBottomBar?