defrank / python_programming_task

Python Programming Task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsyncProxy - Python Programming Task

Your task is to build an asynchronous HTTP proxy (see definition in RFC2616) complying to the requirements specified below.

Requirements

  1. Range requests must be supported as defined in RFC2616, but also via range query parameter.

  2. HTTP 416 error must be returned in case where both header and query parameter are specified, but with a different value.

  3. Program must start with a single command docker-compose up.

  4. Proxy must be reachable at http://<docker-host>:8080 .

  5. Usage statistics must be available at http://<docker-host>:8080/stats

  • total bytes transferred
  • uptime
  1. Code must run with Python 3.5+.

  2. Code must be delivered as a link to public GitHub repository.

About

Python Programming Task


Languages

Language:Python 51.0%Language:Shell 42.5%Language:Makefile 6.5%