Skip to content

http library should redefine some of the enums from 'dart:io' #18

Closed
@DartBot

Description

@DartBot

Originally opened as dart-lang/sdk#18746

This issue was originally filed by [email protected]


Now that the http library supports both browser and console contexts, libraries intending to use the library to provide requests are unable to use some of the useful enums defined in 'dart:io', (specific to my use case, HttpHeaders and HttpStatus).

It would be useful if the http library could redefine or reexport some of these classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-not-plannedClosed as we don't intend to take action on the reported issuetype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions