http library should redefine some of the enums from 'dart:io' #18
Labels
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
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.
The text was updated successfully, but these errors were encountered: