requests-mock
latest
  • Overview
  • Using the Mocker
  • Request Matching
  • Creating Responses
  • Known Issues
  • Request History
  • Adapter Usage
  • Additional Loading
  • Release Notes
requests-mock
  • Docs »
  • Welcome to requests-mock’s documentation!
  • Edit on GitHub

Welcome to requests-mock’s documentation!¶

Contents:

  • Overview
    • Installation
  • Using the Mocker
    • Activation
    • Class Decorator
    • Methods
    • Real HTTP Requests
    • Nested Mockers
    • Mocking specific sessions
  • Request Matching
    • Simple
    • Path Matching
    • Query Strings
    • Matching ANY
    • Regular Expressions
    • Request Headers
    • Additional Matchers
    • Custom Matching
  • Creating Responses
    • Registering Responses
    • Dynamic Response
    • Response Lists
    • Raising Exceptions
    • Handling Cookies
  • Known Issues
    • Case Insensitivity
    • Cookies in Sessions
  • Request History
    • Called
    • Request Objects
    • Reset History
  • Adapter Usage
    • Creating an Adapter
  • Additional Loading
    • Fixtures
    • pytest

Release Notes¶

  • Release Notes
    • 1.7.0-20
    • 1.7.0
    • 1.6.0
    • 1.5.2
    • 1.5.1
    • 1.5.0
    • 1.3.0
    • 1.1.0

Indices and tables¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 2014, Jamie Lennox Revision 1b9a732f.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
1.7.0
1.5.2
1.5.1
1.5.0
1.4.0
0.7.0
0.6.0
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.