Skip to content

CurrentRequestViewer

Tore Nestenius edited this page Jan 20, 2025 · 4 revisions

HTTP(s) Request Viewer

Overview

This tool provides detailed information about the current HTTP(s) request, helping you analyze its content and structure.

Purpose

The viewer lets you inspect various aspects of the current request, such as HTTPS details and request headers. In scenarios where platforms like Azure add their own headers to incoming requests, this tool helps you identify and understand those additions.

Raw Request details

In addition to showing the processed request details, the tool captures and displays the raw request as it was initially received by ASP.NET Core. Middleware, such as the Forwarded Headers middleware, may modify incoming requests. This tool presents both the raw and processed requests for easy comparison.

Implementation

The tool is powered by a custom middleware called RawRequestCaptureMiddleware. This middleware runs early in the request pipeline, capturing raw request details and storing them for comparison with the final, processed request.

image

Clone this wiki locally