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

Entry-point module #15

Open
admwx7 opened this issue Dec 6, 2013 · 2 comments
Open

Entry-point module #15

admwx7 opened this issue Dec 6, 2013 · 2 comments
Labels

Comments

@admwx7
Copy link

admwx7 commented Dec 6, 2013

Create a module that is the only publicly accessible call on the server, it will have to take a header request, parse it for bad data / attacks, pull out information then pass the request on to the modules on the system that will handle all of the actual computations. This module will also be the point that checks the API version that's sent from the client to determine where the request will be sent on the server.

@Sp3ctr3
Copy link
Contributor

Sp3ctr3 commented Dec 7, 2013

Why not do the cleaning up in server.py itself? Right now it's forwarding all requests and responses to the required parties, so I believe it'd be a good position to place any code that manipulates headers or content. API version should definitely be checked.

@admwx7
Copy link
Author

admwx7 commented Dec 9, 2013

Server.py is a fine place to take care of this, doesn't really matter where to me, just has to get done.

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

No branches or pull requests

2 participants