|
@@ -63,6 +63,16 @@ class Builder {
|
|
return $this->withPackageOption( 'data', $data );
|
|
return $this->withPackageOption( 'data', $data );
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Allow for redirects in the request
|
|
|
|
+ *
|
|
|
|
+ * @return Builder
|
|
|
|
+ */
|
|
|
|
+ public function allowRedirect()
|
|
|
|
+ {
|
|
|
|
+ return $this->withCurlOption( 'FOLLOWLOCATION', true );
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Configure the package to encode and decode the request data
|
|
* Configure the package to encode and decode the request data
|
|
*
|
|
*
|