Georald Camposano

Results 18 comments of Georald Camposano

You have to preserve image metadata before using compressorjs, then re-attach the exif data back after compressjs does its thing (you could use something like http://www.perry.cz/files/ExifRestorer.js to achieve this). This...

You can set which http status codes to retry by calling setHttpRetryCodes. https://github.com/googleapis/google-cloud-php/blob/3095675fc315bc75ba1daf7b1dc805c233fb083a/Core/src/RetryDeciderTrait.php#L101 If PubSubClient works anything like Google Cloud Storage's StorageClient class, you would need to use your own...

Noticed this as well as I was trying to debug an issue where we would get really intermittent "invalid_grant" Bad Requests while the client attempts to fetch an auth token...

You need to make sure you have compass installed first. Get ruby then run "gem install compass" http://compass-style.org/install/

Have you tried using a your own guzzle instance that has a custom user agent defined?

The readme/doc is outdated and makes references to code not compatible with Guzzle 6. I don't think the setDefaultOption method exists anymore for that version of Guzzle so you might...

Try this to have a 60 second timeout ``` $client = new \Goutte\Client(); // Create and use a guzzle client instance that will time out after 60 seconds $guzzleClient =...

@rustikov that looks more like a php execution time out error. I tested my example above just now and the timeout value passed is used just fine.

To set curl options by the way, it looks like guzzle recognizes the key "curl" as a config setting, which takes in an array of curl-related config values. So the...

Is there a reason why one would call CHttpSession::setCookieParams() (or session_set_cookie_params()) after a session is started? Seems like this could be resolved by doing that before session_start() is called