Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

F/http #166

wants to merge 9 commits into from

Conversation

sebastiansterk
Copy link
Member

Implements #104

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>
Signed-off-by: Sebastian <sebastian@wiuwiu.de>
@sebastiansterk
Copy link
Member Author

Can someone review this PR please?

if($this->hashAlgo !== false){
$password = $this->hashPassword($password);
}
$ch = curl_init();
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lib/http.php Outdated Show resolved Hide resolved
@ChristophWurst
Copy link
Member

I reviewed but forgot to submit. My bad.

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

Successfully merging this pull request may close these issues.

None yet

3 participants