-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add wrapper for Guzzle #15195
Add wrapper for Guzzle #15195
Conversation
Ready to review now: |
Refer to this link for build results (access rights to CI server needed): |
Looks good 👍 |
I tested to install an app and did a s2s sharing. There were no errors in the log. |
Code also look good 👍 |
3rdparty update: 69f14f9 |
@@ -11,6 +11,7 @@ | |||
|
|||
namespace OCA\Files_Sharing\Controllers; | |||
|
|||
use Hoa\Core\Data\Data; |
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.
Hoa? WTF?
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.
Probably pressed enter when typing autocomplete for DataResponse
🙈
… fixing …
$this->client->setDefaultOption('verify', \OC::$SERVERROOT . '/config/ca-bundle.crt'); | ||
} | ||
|
||
$this->client->setDefaultOption('headers/User-Agent', 'ownCloud Server Crawler'); |
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.
what about firewalls rejecting anything which is not a browser? @danimo
Other PR because Jenkins didn't like my old one 😢
This adds a wrapper around Guzzle to allow developers to perform HTTP requests using a somewhat saner API. Without this SSL and proxy support is basically broken in ownCloud as stated in #14913 (comment)
Todo
Requires owncloud-archive/3rdparty#167
Fixes #9054, #14963, #14840 and a lot of other issues
Ref #14913