Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Mock httpBackend does not support blobs for passThrough. #5415

Closed
@michaelkrog

Description

@michaelkrog

I have tried to use the Mock httpbackend with passThrough for some audio files retrieved from a server.

It works fine when not using the Mock httpBackend, but when I switch to the Mock backend the data returned are not blobs, but strings. The data is there is seems because chrome freezes when debugging and watching the variable - like the data contained in the string is just to big for it to handle.

The way I use $http is like this:

$http({method: 'GET', url: url, responseType: 'blob'}).success(...);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions