Skip to content
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

SAPIResponder should handle header array well #98

Closed
c9s opened this issue Aug 30, 2015 · 1 comment
Closed

SAPIResponder should handle header array well #98

c9s opened this issue Aug 30, 2015 · 1 comment

Comments

@c9s
Copy link
Owner

c9s commented Aug 30, 2015

The header array in the response array can be a List or a Map.

foreach ($headers as $h => $v) {
    if (is_numeric($h)) {  ... header in list }
    else if (is_string($h)) { ... header in map format }
}
@c9s
Copy link
Owner Author

c9s commented Aug 31, 2015

Done in 86b6eba, 44561ec

@c9s c9s closed this as completed Aug 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant