Updated TODOs and FIXMEs.

This commit is contained in:
tastytea 2019-08-21 04:20:11 +02:00
parent d16454e169
commit 62d28c523a
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 4 deletions

View File

@ -58,9 +58,8 @@ API::http::http(const API &api, const string &instance,
Poco::Net::initializeSSL();
// FIXME: rewrite set_proxy() and set proxy here.
// string proxy_host, proxy_userpw;
// parent.get_proxy(proxy_host, proxy_userpw);
// FIXME: rewrite set_proxy() that it calls set_proxy() here.
// FIXME: Username and password for proxy.
try
{
@ -227,7 +226,7 @@ return_call API::http::request_common(const http_method &meth,
{
string location = response.get("Location");
// TODO: Test this.
// TODO: Test HTTP redirects.
if (location.substr(0, 4) == "http")
{ // Remove protocol and instance from path.
size_t pos1 = location.find("//") + 2;