Skip to content

Function client.SendRequestAndReadResponse should approve all 200 level codes #180

@GaballaGit

Description

@GaballaGit

In the function client.SendRequestAndReadResponse currently it only approves http.StatusOk (aka 200). However this fails if we get a code such as 201 success with no body or 204 no content. We should change it to accept all http status codes from 200 to 299.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2 - BEGINNERAn issue where no prerequisite knowledge is requiredcliRelating to the CLI onlymid prioMid priority, doesn't need to be done immediately but should be picked up soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions