Page MenuHomeDevCentral

Port RequestBody guard to an axum extractor
ClosedPublic

Authored by dereckson on Sep 23 2025, 21:45.
Tags
None
Referenced Files
F25124804: D3716.id.diff
Tue, Mar 31, 10:51
Unknown Object (File)
Sun, Mar 29, 12:47
Unknown Object (File)
Sun, Mar 29, 12:06
Unknown Object (File)
Sat, Mar 28, 15:36
Unknown Object (File)
Sat, Mar 28, 15:15
Unknown Object (File)
Sat, Mar 28, 04:09
Unknown Object (File)
Fri, Mar 27, 21:41
Unknown Object (File)
Fri, Mar 27, 12:10
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