-
Notifications
You must be signed in to change notification settings - Fork 65
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
F/http #166
base: master
Are you sure you want to change the base?
F/http #166
Conversation
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
5027631
to
a941132
Compare
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
5508538
to
3310be7
Compare
Can someone review this PR please? |
if($this->hashAlgo !== false){ | ||
$password = $this->hashPassword($password); | ||
} | ||
$ch = curl_init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why manual curl and not \OCP\Http\Client\IClientService? Raw curl won't work with Nextcloud's configured HTTP proxies and some other things by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any example or documentation about how to use \OCP\Http\Client\IClientService? Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No docs unfortunately nextcloud/documentation#2196 but you can take https://github.com/nextcloud/mail/blob/e8c4120f691591949baf664fc50f7947b55f9582/lib/Service/Avatar/Downloader.php as reference.
I reviewed but forgot to submit. My bad. |
Implements #104