You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
Hello I have been playing with the zend-feed with zend-http (release-2.6.0) library to read some feeds on the internet, and it all goes well until I change the domain of the feed to go with https instead of http. Then I receive this error message
[Zend\Http\Header\Exception\InvalidArgumentException] Invalid Max-Age number specified
From the little debug I did I manage to find that when setting the Max-Age a null value is given to this function, therefore a exception is thrown. But I can't seem to go any deeper to know why exactly this null value is given.
In order to fix the issue with the zend-feed I just use the function
Reader::importRemoteFeed
Which give me option to pass it a custom http client.
Hope this help a little and sorry about my bad english.
The text was updated successfully, but these errors were encountered:
jeop10
changed the title
Max-age exception when using https (coudl be the same as #95 ?)
Max-age exception when using https (could be the same as #95 ?)
Mar 14, 2017
Hello I have been playing with the zend-feed with zend-http (release-2.6.0) library to read some feeds on the internet, and it all goes well until I change the domain of the feed to go with https instead of http. Then I receive this error message
[Zend\Http\Header\Exception\InvalidArgumentException] Invalid Max-Age number specified
From the little debug I did I manage to find that when setting the Max-Age a null value is given to this function, therefore a exception is thrown. But I can't seem to go any deeper to know why exactly this null value is given.
It's the same outcome described here #95
In order to fix the issue with the zend-feed I just use the function
Reader::importRemoteFeed
Which give me option to pass it a custom http client.
Hope this help a little and sorry about my bad english.
The text was updated successfully, but these errors were encountered: