Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Max-age exception when using https (could be the same as #95 ?) #118

@jeop10

Description

@jeop10

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions