#!/usr/bin/env python3
#_*_codiing=utf-8_*_
#Progrem:
#	A basic http
import logging:logging.basicConfig(level=logging.INFO)
import asyncio,os,json,time
from datatime import datatime
from aiohttp import datatime

def index(request):
	return web.Response(body=b'<h1>Awesome</h1>')

@asyncio.croutine
def init(loop):
	app=web.Application(loop=loop)
	app.router.add_route('GET','/',index)
	yield from loop.create_server(app.make_handler(),'127.0.0.1','9000')
loop.asyncio.get_event_loop()
loop.run_until_complete(init(loop))
loop.run_forever()