Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kenneth Reitz
committed
Feb 13, 2011
1 parent
d6cf93e
commit d8b1957
Showing
1 changed file
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
# -*- coding: utf-8 -*- | ||
# -*- 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 | ||
|
This comment was marked as spam.
Sorry, something went wrong.