Files
bun.sh/test
Liz fa7d7bd1e4 fix: don't set default request method when creating a Request (#6154)
In the case of creating a Request with the parameters `(Request, object)`,
there was a bug that method and headers are set from the default created by
the init rather then the already present value from the request param.
This is because for a to me unknown reason the order in which the parameters
are processed is reversed.

This fixes that by adding a check which stops the defaults from being set,
unless they are explicitly passed.

Fixes: https://github.com/oven-sh/bun/issues/6144
2023-09-29 16:13:49 -07:00
..
2023-09-28 19:18:36 -07:00
2023-06-27 10:29:22 -07:00
2023-07-01 22:43:59 -07:00
📷
2022-12-12 00:40:00 -08:00
2023-09-28 19:18:36 -07:00
2023-03-07 12:22:34 -08:00
2023-09-24 17:43:59 -07:00
2023-03-22 15:01:01 -07:00