Skip to content

preventing encoding of a query #77

@mooseh

Description

@mooseh

using Guzzle works like so
$response = $client->get('http://localhost:8002/monitoring/stats?mount=/test.mp3', [ 'auth' => ['blah', $this->pass], ]);

using Zttp fails with "The specified mount is invalid"
and the url looks like this http://localhost:8002/monitoring/stats?mount=%2Ftest.mp3
with the code:

$response = Zttp::timeout(2)->withBasicAuth("blah", $this->pass)->get("http://localhost:8002/monitoring/stats?mount=/test.mp3");

so how can i send the mount as /test.mp3 not %2Ftest.mp3

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