Page MenuHomeDevCentral

Port RequestBody guard to an axum extractor
ClosedPublic

Authored by dereckson on Sep 23 2025, 21:45.
Tags
None
Referenced Files
F20925145: D3716.id9615.diff
Tue, Jan 13, 08:20
F20916183: D3716.diff
Tue, Jan 13, 06:28
Unknown Object (File)
Sun, Jan 11, 20:01
Unknown Object (File)
Sun, Jan 11, 05:24
Unknown Object (File)
Sat, Jan 10, 04:00
Unknown Object (File)
Fri, Jan 9, 09:50
Unknown Object (File)
Thu, Jan 8, 18:36
Unknown Object (File)
Wed, Jan 7, 10:49
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