Page MenuHomePhabricator

[services] Extract multipart handling logic to lib
ClosedPublic

Authored by michal on Aug 21 2023, 10:34 AM.
Tags
None
Referenced Files
F3363631: D8892.diff
Mon, Nov 25, 2:47 AM
Unknown Object (File)
Fri, Nov 22, 10:10 AM
Unknown Object (File)
Fri, Nov 22, 8:55 AM
Unknown Object (File)
Mon, Nov 18, 8:03 AM
Unknown Object (File)
Mon, Nov 18, 2:08 AM
Unknown Object (File)
Sat, Nov 9, 7:04 AM
Unknown Object (File)
Tue, Oct 29, 12:52 AM
Unknown Object (File)
Sun, Oct 27, 4:09 PM
Subscribers

Details

Summary

A few things related to multipart parsing will be useful to the backup service:

  • general function for handling text fields
  • ByteStream alias (changed to use Byte instead of Vec<u8> to avoid unnecessary allocations)
  • Also removed a few unnecessary map_err(Box::new) and fixed typos

Depends on D8889

Test Plan

yarn run-integration-tests blob

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Aug 22 2023, 12:12 AM

Regenerate backup lockfile because of issues with resolving deps. Also updated lockfile of feature flags from anyhow in lib.