From: Kenneth Reitz Date: Sun, 13 Feb 2011 21:03:47 +0000 (-0500) Subject: basic layout in place X-Git-Tag: v0.2.0~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8b19573f38aa84db95a7e4d1f1c0a2fa26517eb;p=services%2Fpython-requests.git basic layout in place --- diff --git a/requests/core.py b/requests/core.py index 7c68785..876e701 100644 --- a/requests/core.py +++ b/requests/core.py @@ -1 +1,56 @@ -# -*- coding: utf-8 -*- \ No newline at end of file +# -*- coding: utf-8 -*- + +""" + requests.core + ~~~~~~~~~~~~~ + + This module implements the main Requests system. + + :copyright: (c) 2011 by Kenneth Reitz. + :license: ISC, see LICENSE for more details. +""" +import urllib2 + + +__title__ = 'convore' +__version__ = '0.0.1' +__build__ = 0x000001 +__author__ = 'Kenneth Reitz' +__license__ = 'ISC' +__copyright__ = 'Copyright 2011 Kenneth Reitz' + + +class Request(object): + """The :class:`Request` object. It's awesome. + """ + pass + + +class Response(object): + """The :class:`Request` object. It's awesome. + """ + +class AuthObject(object): + """The :class:`AuthObject` is a simple HTTP Authentication token. + + :param username: Username to authenticate with. + :param password: Password for given username. + """ + + def __init__(self, username, password): + self.username = username + self.password = password + + +def get(): + pass + +def post(): + pass + +def put(): + pass + +def delete(): + pass +