Page MenuHomeDevCentral

Port RequestBody guard to an axum extractor
ClosedPublic

Authored by dereckson on Tue, Sep 23, 21:45.

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