Commits

Andriy Kornatskyy  committed 68d03d5

Added demo for httpclient.

  • Participants
  • Parent commits 578299b

Comments (0)

Files changed (1)

File demos/httpclient/api.py

+"""
+"""
+
+from wheezy.core.httpclient import HTTPClient
+
+
+client = HTTPClient('http://buildbot.buildbot.net/json/')
+assert 200 == client.get('project')
+project = client.json
+assert 'Buildbot' == project.title