Files
DeepTutor/web/lib
Bingxi Zhao (Frank) 2f546a555a fix(web): drop the client Expect header before forwarding uploads
Node's server has already answered `100-continue` by the time the upload
proxy runs, so replaying the header is not just redundant: undici rejects
any request carrying it, and the forward dies mid-upload. The browser is
still writing the body and never reads that 500, so a large knowledge-base
upload surfaces as a bare "Failed to fetch" that looks size-dependent.

Treat `expect` as the hop-by-hop header it is, and cover it with a test.
2026-09-07 23:27:05 +08:00
..
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-02 04:09:11 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-05-02 20:16:07 +08:00
2026-09-03 01:38:54 +08:00
2026-09-02 04:09:11 +08:00
2026-08-02 13:23:45 +08:00
2026-08-02 13:23:45 +08:00
2026-08-02 13:23:45 +08:00
2026-06-13 21:10:57 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-05-01 01:39:08 +08:00
2026-08-17 11:22:26 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-01-23 01:42:25 +08:00
2026-03-13 01:47:38 +08:00
2026-08-17 11:22:26 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-02 04:09:11 +08:00
2026-08-02 13:23:45 +08:00
2026-07-31 00:25:48 +08:00
2026-04-30 23:41:58 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-08-20 14:15:53 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-08-20 14:15:53 +08:00
2026-09-06 13:46:29 +08:00
2026-08-20 14:15:53 +08:00
2026-09-06 13:46:29 +08:00
2026-08-17 11:22:26 +08:00
2026-09-03 01:38:54 +08:00
2026-04-23 19:29:16 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
fix
2026-08-09 22:18:22 +08:00
2026-05-03 16:35:52 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-07-31 00:25:48 +08:00
2026-09-06 13:46:29 +08:00
2026-07-24 18:16:04 +08:00
2026-09-02 04:09:11 +08:00
2026-05-12 02:20:30 +08:00
2026-09-06 13:46:29 +08:00
2026-08-20 14:15:53 +08:00
2026-09-03 01:38:54 +08:00