1. Andriy Kornatskyy
  2. wheezy.core

Commits

Andriy Kornatskyy  committed 68d03d5

Added demo for httpclient.

  • Participants
  • Parent commits 578299b
  • Branches default

Comments (0)

Files changed (1)

File demos/httpclient/api.py

View file
  • Ignore whitespace
+"""
+"""
+
+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