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

Fixes typo IM Used response reason phrase typo #230

Merged
merged 1 commit into from Apr 6, 2017

Conversation

samsonasik
Copy link
Contributor

uses uppercase for "used", changed to "Used"

uses uppercase for "used"
@samsonasik samsonasik changed the title Fixes typo IM Used response reaspon phrase typo Fixes typo IM Used response reason phrase typo Feb 7, 2017
@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017

Ref: #208

@Ocramius Ocramius added the bug label Feb 7, 2017
@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017

@samsonasik is there any way to test these status codes from an RFC list or such?

@samsonasik
Copy link
Contributor Author

@Ocramius not sure..., probably use ReflectionProperty ?

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017

@samsonasik yeah, that part is indeed trivial, but we need some sort of authoritative list to compare against, or else we'll keep having these failures, especially if the spec is extended

@sharifzadesina
Copy link
Contributor

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017 via email

@sharifzadesina
Copy link
Contributor

@Ocramius I have linked the section with the URL, section 10.4.1

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017 via email

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017 via email

@sharifzadesina
Copy link
Contributor

sharifzadesina commented Feb 7, 2017

@Ocramius Have you ever seen the WikiPedia page? implementation is just for making your job easier ;)
anyway You need also change status codes 505 and 207.

@Ocramius
Copy link
Member

Ocramius commented Feb 7, 2017 via email

@sharifzadesina
Copy link
Contributor

@Ocramius Yes, but you can find RFC numbers for each standard status code.

@fcabralpacheco
Copy link
Contributor

@Ocramius Accurate, updated (e.g. 408, 413, 414, 416, 505) and ease to parse (xml).

http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
http://www.iana.org/assignments/http-status-codes/http-status-codes.xml
http://www.iana.org/assignments/http-status-codes/http-status-codes.txt

However, is not perfect, some codes are missing (maybe unofficial or Easter egg - 418)

@weierophinney weierophinney added this to the 1.3.11 milestone Apr 6, 2017
@weierophinney weierophinney self-assigned this Apr 6, 2017
@weierophinney weierophinney merged commit 7b21518 into zendframework:master Apr 6, 2017
weierophinney added a commit that referenced this pull request Apr 6, 2017
Fixes typo IM Used response reason phrase typo
weierophinney added a commit that referenced this pull request Apr 6, 2017
weierophinney added a commit that referenced this pull request Apr 6, 2017
@weierophinney
Copy link
Member

Thanks, @samsonasik

@samsonasik samsonasik deleted the patch-2 branch April 7, 2017 01:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants