summaryrefslogtreecommitdiffstats
path: root/lib/private/Http
Commit message (Collapse)AuthorAgeFilesLines
* Make authenticated cookies laxRoeland Jago Douma2018-09-281-0/+75
| | | | | | | | | | | | | | This protects our cookies a bit more. It makes sure that when a 3rdparty websites embededs a public alendar for example. That all the users see this in anonymous mode there. It adds a small helper function. In the future we can think about protecting other cookies like this as well. But for now this is sufficient to not have the user logged in at all when doing 3rdparty requests. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix HTTP client given options being overriden by default optionsDaniel Calviño Sánchez2018-06-141-6/+6
| | | | | | | | | According to the array_merge documentation, "If the input arrays have the same string keys, then the later value for that key will overwrite the previous one." Thus, the default options must be the first parameter passed to array_merge. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* adjust post body for new guzzleRobin Appelman2018-02-091-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust httpclient to guzzle6Robin Appelman2018-02-093-25/+47
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make OCP\Http strictRoeland Jago Douma2018-01-163-19/+24
| | | | | | | | | | * Handle private files * Add return types * Add scalar typehints * Made strict * Fixed requiring proper guzzle message interface that is passed around Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Rebrand to "Nextcloud" and add 100% coverageLukas Reschke2017-01-021-5/+6
| | | | | | Noticed while debugging https://github.com/nextcloud/server/issues/2910 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update with robinJoas Schilling2016-07-212-2/+2
|
* Fix othersJoas Schilling2016-07-213-3/+6
|
* Update license headersLukas Reschke2016-05-263-3/+3
|
* only configure the http client once we start using itRobin Appelman2016-05-121-6/+23
|
* Move \OC\Http to PSR-4Roeland Jago Douma2016-04-283-0/+431