Page MenuHomeDevCentral

Port RequestBody guard to an axum extractor
ClosedPublic

Authored by dereckson on Tue, Sep 23, 21:45.
Tags
None
Referenced Files
F11822899: D3716.diff
Thu, Sep 25, 00:37
F11822849: D3716.id9616.diff
Thu, Sep 25, 00:35
F11822843: D3716.id9615.diff
Thu, Sep 25, 00:35
F11815653: D3716.id9615.diff
Wed, Sep 24, 18:33
F11815591: D3716.id9614.diff
Wed, Sep 24, 18:28
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 Passed
Unit
No Test Coverage
Branch
everything-is-core
Build Status
Buildable 5957
Build 6239: arc lint + arc unit