Skip to content

Break up server.py #22

@za419

Description

@za419

Especially with #21 in play, server.py is getting awfully large.

I'd like to split it up a little bit - Perhaps have a file to handle the configuration of the logger (from which we import the logger in server.py), and another to handle the MIME type guesser (from which we import mimeTypeOf) - This latter is significant because it separates a large portion of text away from the file, not because it's significantly semantically different.

Additionally, we could split out an aria.py, and/or an http.py (including the waitingRequest and the sendResponse family of functions), but those first two are the important ones (especially if another config setup is added for the mime type dictionary).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions