HTTPretty
  • What is HTTPretty ?
  • Demo
  • Motivation
  • Guides
  • Acknowledgements
  • API Reference
  • Modules
  • Hacking on HTTPretty
  • License
  • Main contributors
  • Release Notes
HTTPretty
  • HTTPretty’s - HTTP Client Mocking for Python
  • View page source

HTTPretty’s - HTTP Client Mocking for Python¶

https://github.com/gabrielfalcao/HTTPretty/raw/master/docs/source/_static/logo.svg?sanitize=true

HTTP Client mocking tool for Python created by Gabriel Falcão . It provides a full fake TCP socket module. Inspired by FakeWeb

Looking for the Github Repository ?

Python Support:

  • 3.6

  • 3.7

  • 3.8

  • 3.9

https://img.shields.io/pypi/dm/HTTPretty https://img.shields.io/codecov/c/github/gabrielfalcao/HTTPretty https://img.shields.io/github/workflow/status/gabrielfalcao/HTTPretty/HTTPretty%20Tests?label=Python%203.6%20-%203.9 https://img.shields.io/readthedocs/httpretty https://img.shields.io/github/license/gabrielfalcao/HTTPretty?label=Github%20License https://img.shields.io/pypi/v/HTTPretty https://img.shields.io/pypi/l/HTTPretty?label=PyPi%20License https://img.shields.io/pypi/format/HTTPretty https://img.shields.io/pypi/status/HTTPretty https://img.shields.io/pypi/pyversions/HTTPretty https://img.shields.io/pypi/implementation/HTTPretty https://img.shields.io/snyk/vulnerabilities/github/gabrielfalcao/HTTPretty https://img.shields.io/github/v/tag/gabrielfalcao/HTTPretty
  • What is HTTPretty ?
    • A more technical description
    • Installing
  • Demo
    • expecting a simple response body
    • making assertions in a callback that generates the response body
    • Link headers
  • Motivation
  • Guides
    • Matching URLs via regular expressions
    • Response Callbacks
  • Acknowledgements
    • Caveats
  • API Reference
    • register_uri
    • enable
    • disable
    • is_enabled
    • last_request
    • latest_requests
    • activate
    • httprettified
    • enabled
    • httprettized
    • HTTPrettyRequest
    • HTTPrettyRequestEmpty
    • FakeSockFile
    • FakeSSLSocket
    • URIInfo
    • URIMatcher
    • Entry
  • Modules
    • Core
    • Http
    • Utils
    • Exceptions
  • Hacking on HTTPretty
    • install development dependencies
    • next steps
  • License
  • Main contributors
  • Release Notes
    • Release 1.1.4
    • Release 1.1.3
    • Release 1.1.2
    • Release 1.1.1
    • Release 1.1.0
    • Release 1.0.5
    • Release 1.0.4
    • Release 1.0.3
    • Release 1.0.0
    • Release 0.9.4
    • Release 0.8.4
    • Release 0.6.5
    • Release 0.6.2
    • Release 0.6.1
    • Release 0.5.14
    • Release 0.5.12
    • Release 0.5.11
    • Release 0.5.10
    • Release 0.5.9
    • Release 0.5.8

Indices and tables¶

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2011-2021, Gabriel Falcao.

Built with Sphinx using a theme provided by Read the Docs.