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

call it request, not environ #17

Open
chadwhitacre opened this issue Jan 13, 2015 · 0 comments
Open

call it request, not environ #17

chadwhitacre opened this issue Jan 13, 2015 · 0 comments

Comments

@chadwhitacre
Copy link

And make it a (low-level but) true Request object. We're not looking for "one true request," but rather, "requests all the way down." The WSGI NG request object should be pretty basic, and should be designed to support an ecosystem of more advanced request objects at the framework layer.

For comparison, consider Node: they have a core IncomingMessage prototype that gets passed to http.Server callbacks as request, and then frameworks wrap that in their own request or req objects: Express, Sails (wraps Express, actually), Total, Koa. Fundamentally, though, every framework is using the same request object at bottom.

In a sense WSGI's environ has been our base request object. Let's start calling it that, and design it as such.

Reticketed from #13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant