Skip to content

Commit

Permalink
fix condition for internal requests in proxyless to allow downloading…
Browse files Browse the repository at this point in the history
… of the `xml` files (#7492)
  • Loading branch information
AlexKamaev authored Feb 4, 2023
1 parent af6cb5c commit 1e1f3a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion gulp/constants/functional-test-globs.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const PROXYLESS_TESTS_GLOB = [
'!test/functional/fixtures/regression/gh-1388/test.js',
'!test/functional/fixtures/hammerhead/gh-2622/test.js',
'!test/functional/fixtures/regression/gh-2861/test.js',
'!test/functional/fixtures/regression/gh-3127/test.js',
'!test/functional/fixtures/regression/gh-423/test.js',
'!test/functional/fixtures/regression/gh-5886/test.js',
'!test/functional/fixtures/regression/hammerhead/gh-2350/test.js',
Expand Down
2 changes: 1 addition & 1 deletion src/proxyless/request-pipeline/special-handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {


const internalRequest = {
condition: (event: RequestPausedEvent): boolean => !event.networkId,
condition: (event: RequestPausedEvent): boolean => !event.networkId && event.resourceType !== 'Document',
handler: async (event: RequestPausedEvent, client: ProtocolApi): Promise<void> => {
requestPipelineInternalRequestLogger('%r', event);

Expand Down

0 comments on commit 1e1f3a8

Please sign in to comment.