Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMake sure Http requests for file:// scheme would not stall. #168
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
Feb 22, 2015
Member
Thanks! We're currently working on a big rewrite of the Http library on the promises branch, so I think we shouldn't continue doing stuff to the old Http library. There are still some decisions to be made about whether the library or the user is in charge of dealing with these kinds of details, so this is good timing :) In any case, this information will be valuable over there.
|
Thanks! We're currently working on a big rewrite of the |
mblsha commentedFeb 11, 2015
When XHR is finished for file:// resource, its status code is set to 0 both in cases of success and failure.
Guess this solution is better than stalling the XHR forever.