Skip to content

[docs] Extend the 'RequestMock: CORS validation failed for a request specified as <filter rule>' warning #5854

Description

@miherlosev

At present:
image

Need to add a phrase how to fix this warning.
For example such a phrase:
To fix this warning specify the necessary CORS headers in respond method. For more detail see https://devexpress.github.io/testcafe/documentation/reference/test-api/requestmock/respond.html URL.

Activity

  1. lonely-caat commented on Jun 9, 2021

    @lonely-caat

    @miherlosev what are actually the right headers to use when this error pops up?

  2. VasilyStrelyaev commented on Jun 10, 2021

    @VasilyStrelyaev
    Collaborator

    The server response should have the Access-Control-Allow-Origin header that indicates that cross-origin access is permitted. You can find other headers that can be included in the server's response in the HTTP response headers section.

  3. added theissue type on Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AREA: docsAn issue related to the product documentation.TYPE: enhancementThe accepted proposal for future implementation.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions