You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
999 B
35 lines
999 B
7 years ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
"""
|
||
|
flowroutenumbersandmessaging.http.http_context
|
||
|
|
||
|
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
|
||
|
"""
|
||
|
|
||
|
class HttpContext(object):
|
||
|
|
||
|
"""An HTTP Context that contains both the original HttpRequest
|
||
|
object that intitiated the call and the HttpResponse object that
|
||
|
is the result of the call.
|
||
|
|
||
|
Attributes:
|
||
|
request (HttpRequest): The original request object.
|
||
|
response (HttpResponse): The returned response object after
|
||
|
executing the request. Note that this may be None
|
||
|
depending on if and when an error occurred.
|
||
|
|
||
|
"""
|
||
|
|
||
|
def __init__(self,
|
||
|
request,
|
||
|
response):
|
||
|
"""Constructor for the HttpContext class
|
||
|
|
||
|
Args:
|
||
|
request (HttpRequest): The HTTP Request.
|
||
|
response (HttpResponse): The HTTP Response.
|
||
|
|
||
|
"""
|
||
|
self.request = request
|
||
|
self.response = response
|