Skip to content

Body is empty due to missing seek command #32

@deweller

Description

@deweller

The php://temp stream is not read from the beginning without issuing a seek command.

There are some unexpected consequences of this behavior.

For example, calling $response->getBody()->getContents() twice will return null the second time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions