Skip to content

new XMLHttpRequest.get can't load blobs and bytearrays #3440

Closed
@DartBot

Description

@DartBot

This issue was originally filed by @pjako


new XMLHttpRequest.get(String url, onSuccess(XMLHttpRequest request)); while beeing a cool constructor for doing XMLHttpRequests it lacks support for bytearrays and blobs

How about chang it to something like this...

XMLHttpRequest.get(String url, onSuccess(XMLHttpRequest request), [String responseType]);

responseType = "text" | "bytearray" | "blob";

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-obsoleteClosed as the reported issue is no longer relevanttype-enhancementA request for a change that isn't a bugweb-librariesIssues impacting dart:html, etc., libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions