HomeDevCentral

Port RequestBody guard to an axum extractor

Description

Port RequestBody guard to an axum extractor

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

Differential Revision: https://devcentral.nasqueron.org/D3716

Details

Provenance
derecksonAuthored on Tue, Sep 23, 21:41
derecksonPushed on Tue, Sep 23, 21:52
Differential Revision
D3716: Port RequestBody guard to an axum extractor
Parents
rLF27cdef741610: Bump dependencies
Branches
Unknown
Tags
Unknown
Tasks
T2133: Migrate Alkane to axum