improvements to suppport mania exchange ssl support
This commit is contained in:
@ -49,7 +49,9 @@ class AsyncHttpRequest {
|
||||
->set(CURLOPT_CRLF, true)// linux line feed
|
||||
->set(CURLOPT_ENCODING, '')// accept encoding
|
||||
->set(CURLOPT_USERAGENT, 'ManiaControl v' . ManiaControl::VERSION)// user-agent
|
||||
->set(CURLOPT_RETURNTRANSFER, true); // return instead of output content
|
||||
->set(CURLOPT_RETURNTRANSFER, true) //
|
||||
->set(CURLOPT_FOLLOWLOCATION, true) // support redirect
|
||||
->set(CURLOPT_SSL_VERIFYPEER, false);
|
||||
return $request;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user