-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request target is invalid when uri path is empty #25
Comments
::withRequestTarget()
What if my path contains not ASCII characters?
That is, if the user wants to decode the string - there are decoding method. I think that something like this:
Or even easier
Originally posted by @easy-system at zendframework/zend-diactoros#153 (comment) |
::getRequestTarget()
http://tools.ietf.org/html/rfc7230#section-5.3.1
The query component is optional, the path is required.
But in code if exists only query - return it
probably it would be correct:
Originally posted by @easy-system at zendframework/zend-diactoros#153
The text was updated successfully, but these errors were encountered: