Commit Graph

6 Commits

Author SHA1 Message Date
Kyle Blöm
bcd4546d58 Added new tests, new request logic, and handler file
Added new tests for alternate uses for alternate range request types.

Changed error handlnig for new request logic that simplifies the integration logic

Moved the error handler and the content range handler to their own handler file to prevent circular imports.
2017-01-30 09:31:49 -08:00
Kyle Blöm
60f36135b3 Changed output to use a default_header dictionary and a ChainMap to unnecessary conditionals and simplified range parsing logic 2017-01-30 09:25:59 -08:00
Kyle Blöm
185c68ae6d added Range request test cases 2017-01-30 09:25:59 -08:00
Eli Uriegas
8be849cc40 Rewrite static files tests
Relates to PR #188

Changes include:
- Rewriting to work with pytest fixtures and an actual static directory
- Addition of a test that covers file paths that must be
  unquoted as a uri
2016-12-24 18:18:56 -08:00
Channel Cat
74ae0007d3 Reverse static arguments 2016-10-25 02:45:28 -07:00
Channel Cat
bf6879e46f Made static file serving part of Sanic
Added sanic.static, blueprint.static, documentation, and testing
2016-10-24 01:21:06 -07:00