Skip to content

Include response body in sample #53

@blalor

Description

@blalor

Someday I will live in a world where the HTTP status code of a service response will be sufficient for determining the proper status of that response. Still trying to find that place, however. It would be useful to return the body of the response as a property of the sample for further analysis outside of the core canary library.

Should be fairly straightforward; the body's already being read:

val := sample.ResponseHeaders.Get("Content-Length")
Support will probably be required for chunked encoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions