Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Picheta <dominik@cloudflare.com>
  • Loading branch information
2 people authored and ns476 committed Aug 2, 2024
1 parent 4ee2dbc commit 776c4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workerd/api/http.c++
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ jsg::Promise<jsg::Ref<Response>> fetchImplNoOutputLock(
jsRequest->shallowCopyHeadersTo(headers);

// If the jsRequest has a CacheMode, we need to handle that here.
// Currently, the ony cache mode we support is undefined, but we will soon support
// Currently, the only cache mode we support is undefined, but we will soon support
// no-cache and no-store. These additional modes will be hidden behind an autogate.
if (jsRequest->getCacheMode() != Request::CacheMode::NONE) {
return js.rejectedPromise<jsg::Ref<Response>>(
Expand Down

0 comments on commit 776c4e2

Please sign in to comment.