Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpStatus is useful in the browser as well as on the command line #3598

Closed
DartBot opened this issue Jun 13, 2012 · 8 comments
Closed

HttpStatus is useful in the browser as well as on the command line #3598

DartBot opened this issue Jun 13, 2012 · 8 comments
Labels
area-library closed-obsolete Closed as the reported issue is no longer relevant library-html P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jun 13, 2012

This issue was originally filed by jameso...@gmail.com


The HttpStatus class is currently in dart:io, which is only available in command-line dart. However, it is also useful in the browser, as XMLHttpRequest contains a status field too.

It would be helpful if this class was available in both dart:io and dart:html, or else put into another library which was available in both places.

@anders-sandholm
Copy link
Contributor

cc @madsager.
cc @lrhn.
Added Area-DOM, Triaged labels.

@lrhn
Copy link
Member

lrhn commented Jun 14, 2012

I recommend creating a new library that can be accessed both on the server and in a browser, and move the parts of dart:html and dart:io that are useful on both ends to that library.

@iposva-google
Copy link
Contributor

Removed Area-DOM label.
Added Area-HTML label.

@vsmenon
Copy link
Member

vsmenon commented Aug 17, 2012

I don't expect us to get to this until after M1.


Added this to the Later milestone.
Removed Type-Defect label.
Added Type-Enhancement label.

@DartBot
Copy link
Author

DartBot commented Mar 24, 2014

This comment was originally written by @butlermatt


I love this idea and I agree with Comment #­2 would a library like dart:http be suitable for this? Or should it be more generic for additional areas that we might want to share functionality between the two libraries (dart:io/dart:html)?

@kevmoo
Copy link
Member

kevmoo commented Apr 7, 2014

Removed Area-HTML label.
Added Area-Library, Library-Html labels.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed triaged labels Feb 29, 2016
@matanlurey matanlurey added the closed-obsolete Closed as the reported issue is no longer relevant label Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-library closed-obsolete Closed as the reported issue is no longer relevant library-html P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

8 participants