This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 152
ServerRequestFactory #158
Comments
And for the host is must be required!
|
easy-system
changed the title
ServerRequestFactory
ServerRequestFactory & security wulnerables
Mar 13, 2016
weierophinney
changed the title
ServerRequestFactory & security wulnerables
ServerRequestFactory
Mar 13, 2016
Ok. Im delete this from public. |
This repository has been closed and moved to laminas/laminas-diactoros; a new issue has been opened at laminas/laminas-diactoros#23. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This all works fine. Great.
But why all the logic is concentrated in one place?
Moreover, there is a class of Server.
I think it would be better to make a directory of the factories.
Firstly, it allows to separate each logic element in its factory.
Secondly, because I can always get in the code of the original values.
For example, Zend\Diactoros\Factory\HttpProtocolFactory:
All this is true for the request method, headers, Uri, uploaded files etc
The text was updated successfully, but these errors were encountered: