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

Conversation

@asgrim
Copy link
Contributor

@asgrim asgrim commented Jul 19, 2015

As per the discussion in zendframework/zendframework#7368 this change adds a new
method \Zend\Http\Response->isGone() to determine if the status code is
a "410 Gone". This works exactly the same as the similar methods like
isNotFound simply by checking the status code.

This change takes the opinion that a 410 Gone should not be included in
the isNotFound() method. Further discussion can be seen in the issue.

Originally from #3 but to merge against develop branch this time.

As per the discussion in zendframework/zendframework#7368 this change adds a new
method \Zend\Http\Response->isGone() to determine if the status code is
a "410 Gone". This works exactly the same as the similar methods like
isNotFound simply by checking the status code.

This change takes the opinion that a 410 Gone should not be included in
the isNotFound() method. Further discussion can be seen in the issue.
@ezimuel ezimuel merged commit be17318 into zendframework:develop Aug 4, 2016
@ezimuel
Copy link
Contributor

ezimuel commented Aug 4, 2016

@asgrim Thanks for your contribution!

@asgrim asgrim deleted the add-isgone-to-response branch August 4, 2016 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants