Skip to content

Improve UTF8 Tests for Invoke-WebRequest and Invoke-RestMethod #4890

Closed

Description

The current tests (soon to be) added in #4869 are an improvement from before but, perhaps, some better tests could be added.

Possibilities include ensuring there are no UTF16 or UTF32 chars, generating UTF8 from the WebListener controller instead of using a view, etc.

Also after #4888, a check can be made on the response headers from Invoke-RestMethod.

Activity

  1. changed the title [-]Improve UTF8 Tests for Invoke-WebRequest and Invoke-Restmethod[/-] [+]Improve UTF8 Tests for Invoke-WebRequest and Invoke-RestMethod[/+] on Sep 21, 2017
  2. added
    WG-Quality-Testissues in a test or in test infrastructure
    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassif
    on Sep 22, 2017
  3. iSazonov commented on Sep 22, 2017

    @iSazonov
    Collaborator

    We could look how our file encoding tests works.
    Also I believe it make sense to use `u{...} in test file if we need a constant test string - it protect our tests if we change the file encoding.

  4. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  5. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  6. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.

  7. microsoft-github-policy-service commented on Nov 23, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.

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

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-No ActivityIssue has had no activity for 6 months or moreWG-Quality-Testissues in a test or in test infrastructure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions