Page MenuHomeDevCentral

Port RequestBody guard to an axum extractor
ClosedPublic

Authored by dereckson on Sep 23 2025, 21:45.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 31, 03:45
Unknown Object (File)
Thu, Oct 30, 09:43
Unknown Object (File)
Tue, Oct 28, 06:08
Unknown Object (File)
Tue, Oct 28, 06:08
Unknown Object (File)
Tue, Oct 28, 06:08
Unknown Object (File)
Tue, Oct 28, 06:08
Unknown Object (File)
Tue, Oct 28, 05:17
Unknown Object (File)
Mon, Oct 27, 10:07
Subscribers
None

Details

Summary

Allows reading the request body as a string.

This is a port of 686e7d43403d for axum too, with common parts to the core crate.

The new type idiom is used to allow to implement traits in each crate.

Ref T2133

Test Plan
  • Tests for RequestBody structure migrated to core
  • New tests for axum

Diff Detail

Repository
rLF Limiting Factor
Lint
Lint Not Applicable
Unit
Tests Not Applicable