[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1782730423026.jpg (105.49 KB, 1024x1024, img_1782730385114_ni7yollx.jpg)ImgOps Exif Google Yandex

26a0f No.1876

can we find a way to replace our entire legacy middleware stack using only native web APIs? post your best ideas for an ultra-lightweight fix below.

26a0f No.1877

File: 1782731822259.jpg (330.85 KB, 1024x1024, img_1782731782792_22hsdmt5.jpg)ImgOps Exif Google Yandex

>>1876
just use
Request.prototype.clone
and a chain of wrapper functions to handle the logic. you can basically replicate any async interceptor pattern using standard fetch overrides .
>it works for everything except complex body parsing

are you planning on using the new
TransformStream
API for the data processing part lol?



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">