Skip to content

Ошибка для метода PUT и пустого контента #367

Description

@Inohacker

$this->buildRequest($url, $content, $method);

Если здесь передать $method = 'PUT' и $content = [], то $content превратится в строку '[]'

Дополнение:
Если передать $content пустую строку, а не пустой массив - все работает.

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