mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 19:38:58 +00:00
2x faster headers.get, headers.delete, headers.has (#18571)
This commit is contained in:
@@ -1379,6 +1379,8 @@ JSC_DEFINE_HOST_FUNCTION(jsHTTPSetHeader, (JSGlobalObject * globalObject, CallFr
|
||||
|
||||
if (nameValue.isString()) {
|
||||
String name = nameValue.toWTFString(globalObject);
|
||||
RETURN_IF_EXCEPTION(scope, {});
|
||||
|
||||
FetchHeaders* impl = &headers->wrapped();
|
||||
|
||||
if (valueValue.isUndefined())
|
||||
|
||||
Reference in New Issue
Block a user