Skip to content

Commit 6232481

Browse files
committed
Fix: broken link in README.md
1 parent ff0ef2a commit 6232481

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ into the [_Moesif Portal_](https://www.moesif.com/), click on the top right menu
6262
## Optional: Capturing outgoing API calls
6363
If you want to capture all outgoing API calls from your Python Lambda function to third parties like
6464
Stripe or to your own dependencies, call `start_capture_outgoing()` to start capturing. This mechanism works by
65-
patching the [Requests](http://docs.python-requests.org/en/master/)
65+
patching the [Requests](https://requests.readthedocs.io/en/master/)
6666

6767
```python
6868
from moesif_aws_lambda.middleware import *
@@ -191,26 +191,26 @@ Type: `Boolean`
191191

192192
## Options for logging outgoing calls
193193

194-
The options below are applied to outgoing API calls. The request and response objects passed in are [Requests](http://docs.python-requests.org/en/master/api/) request and [Response](https://golang.org/src/net/http/response.go) response objects.
194+
The options below are applied to outgoing API calls. The request and response objects passed in are [Requests](https://requests.readthedocs.io/en/master/user/advanced/#request-and-response-objects) request and [Response](https://requests.readthedocs.io/en/master/user/advanced/#request-and-response-objects) response objects.
195195

196196
### __`SKIP_OUTGOING`__
197-
(optional) _(req, res) => boolean_, a function that takes a [Requests](http://docs.python-requests.org/en/master/api/) request and response,
197+
(optional) _(req, res) => boolean_, a function that takes a [Requests](https://requests.readthedocs.io/en/master/) request and response,
198198
and returns true if you want to skip this particular event.
199199

200200
### __`IDENTIFY_USER_OUTGOING`__
201-
(optional, but highly recommended) _(req, res) => string_, a function that takes [Requests](http://docs.python-requests.org/en/master/api/) request and response, and returns a string that is the user id used by your system. While Moesif tries to identify users automatically,
201+
(optional, but highly recommended) _(req, res) => string_, a function that takes [Requests](https://requests.readthedocs.io/en/master/) request and response, and returns a string that is the user id used by your system. While Moesif tries to identify users automatically,
202202
but different frameworks and your implementation might be very different, it would be helpful and much more accurate to provide this function.
203203

204204
### __`IDENTIFY_COMPANY_OUTGOING`__
205-
(optional) _(req, res) => string_, a function that takes [Requests](http://docs.python-requests.org/en/master/api/) request and response, and returns a string that is the company id for this event.
205+
(optional) _(req, res) => string_, a function that takes [Requests](https://requests.readthedocs.io/en/master/) request and response, and returns a string that is the company id for this event.
206206

207207
### __`GET_METADATA_OUTGOING`__
208-
(optional) _(req, res) => dictionary_, a function that takes [Requests](http://docs.python-requests.org/en/master/api/) request and response, and
208+
(optional) _(req, res) => dictionary_, a function that takes [Requests](https://requests.readthedocs.io/en/master/) request and response, and
209209
returns a dictionary (must be able to be encoded into JSON). This allows
210210
to associate this event with custom metadata. For example, you may want to save a VM instance_id, a trace_id, or a tenant_id with the request.
211211

212212
### __`GET_SESSION_TOKEN_OUTGOING`__
213-
(optional) _(req, res) => string_, a function that takes [Requests](http://docs.python-requests.org/en/master/api/) request and response, and returns a string that is the session token for this event. Again, Moesif tries to get the session token automatically, but if you setup is very different from standard, this function will be very help for tying events together, and help you replay the events.
213+
(optional) _(req, res) => string_, a function that takes [Requests](https://requests.readthedocs.io/en/master/) request and response, and returns a string that is the session token for this event. Again, Moesif tries to get the session token automatically, but if you setup is very different from standard, this function will be very help for tying events together, and help you replay the events.
214214

215215
### __`LOG_BODY_OUTGOING`__
216216
(optional) _boolean_, default True, Set to False to remove logging request and response body.

0 commit comments

Comments
 (0)