Skip to content
Myr

basic layout in place

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent d6cf93e · Browse files · 1 file+56 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+56 added−1 removed

  • other:+56 added−1 removed

1 file+56 added−1 removed

modified:requests/core.py+56 added-1 removed
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-23"""4 requests.core5 ~~~~~~~~~~~~~67 This module implements the main Requests system.89 :copyright: (c) 2011 by Kenneth Reitz.10 :license: ISC, see LICENSE for more details.11"""12import urllib2131415__title__ = 'convore'16__version__ = '0.0.1'17__build__ = 0x00000118__author__ = 'Kenneth Reitz'19__license__ = 'ISC'20__copyright__ = 'Copyright 2011 Kenneth Reitz'212223class Request(object):24 """The :class:`Request` object. It's awesome.25 """26 pass27 28 29class Response(object):30 """The :class:`Request` object. It's awesome.31 """32 33class AuthObject(object):34 """The :class:`AuthObject` is a simple HTTP Authentication token.35 36 :param username: Username to authenticate with.37 :param password: Password for given username.38 """39 40 def __init__(self, username, password):41 self.username = username42 self.password = password434445def get():46 pass4748def post():49 pass50 51def put():52 pass53 54def delete():55 pass56