Commit Graph

6 Commits

Author SHA1 Message Date
Kyle Blöm
bb05413a92 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 13:56:07 -08:00
Kyle Blöm
ca02ed3b9f Changed output to use a default_header dictionary and a ChainMap to unnecessary conditionals and simplified range parsing logic 2017-01-30 13:53:29 -08:00
Kyle Blöm
6f96d7da05 added Range request test cases 2017-01-30 13:53:29 -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