Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

[TODO] Use HttpClient for negotiating connections #5

Open
AzureKitsune opened this issue Jan 15, 2017 · 1 comment
Open

[TODO] Use HttpClient for negotiating connections #5

AzureKitsune opened this issue Jan 15, 2017 · 1 comment

Comments

@AzureKitsune
Copy link
Collaborator

AzureKitsune commented Jan 15, 2017

The library should use an actual HTTP library instead of my hack to get the connection going. This will also handle certain streams that send down weird Unicode characters that currently kill the library (see #7).

@AzureKitsune
Copy link
Collaborator Author

AzureKitsune commented Jan 16, 2017

I experimented with getting a connection going using Windows.Web.HttpClient and it worked half of the time. The problem is HttpClient is inconsistent when it's retrieving only the headers (and not the content or else it would download the stream indefinitely).

Sometimes the headers will be buffered/parsed by the time it returns and sometimes they won't be (leaving us without anything we can do).

I might have to write a real Http Client for usage in this library but I don't want to reinvent the wheel in this case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant