GenHTTP icon indicating copy to clipboard operation
GenHTTP copied to clipboard

Print request information to help debugging issues

Open Kaliumhexacyanoferrat opened this issue 1 year ago • 0 comments

As a developer of a web application or the server itself, I would like to see the properties of a request to my application, so that I can better investigate bugs without the need of debugging.

Example

var requestInfo = RequestInfo.Create();

layout.Add(requestInfo);

Acceptance criteria

  • The functionality is implemented in a new module
  • When invoked, the handler returns a HTML page rendering the properties of the request, including the header, cookies, the body, and so on
  • The HTML page is rendered using one of the rending engines and integrated into the currently active template (theme), if any
  • The handler responds to all requests, so that it can work as a catch-all
  • The functionality is covered by acceptance tests
  • The functionality is documented on the website

Kaliumhexacyanoferrat avatar Jan 03 '24 13:01 Kaliumhexacyanoferrat