You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/managing-documents/reading.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -119,3 +119,8 @@ for more information on reading documents.
119
119
If the `client.documents.read` method receives an HTTP response with a status code of 200, then the client will return
120
120
a list of `Document` instances. For any other status code, the client will return the `requests``Response` object,
121
121
providing access to the error details returned by the MarkLogic REST API.
122
+
123
+
The `status_code` and `text` fields in the `Response` object will typically be of the most interest when
124
+
debugging a problem. Please see
125
+
[Response API documentation](https://docs.python-requests.org/en/latest/api/#requests.Response) for complete information on what's available in this object.
Copy file name to clipboardExpand all lines: docs/managing-documents/searching.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -160,3 +160,7 @@ for more information on searching documents.
160
160
If the `client.documents.read` method receives an HTTP response with a status code of 200, then the client will return
161
161
a list of `Document` instances. For any other status code, the client will return the `requests``Response` object,
162
162
providing access to the error details returned by the MarkLogic REST API.
163
+
164
+
The `status_code` and `text` fields in the `Response` object will typically be of the most interest when
165
+
debugging a problem. Please see
166
+
[Response API documentation](https://docs.python-requests.org/en/latest/api/#requests.Response) for complete information on what's available in this object.
Copy file name to clipboardExpand all lines: docs/managing-documents/writing.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -156,3 +156,7 @@ Because the `client.documents.write` method returns a `requests Response` object
156
156
processing of the request will be captured within that `Response` object. The client does not attempt to provide any
157
157
additional information, as the MarkLogic REST API will already provide details within the response body and potentially
158
158
the response headers as well.
159
+
160
+
The `status_code` and `text` fields in the `Response` object will typically be of the most interest when
161
+
debugging a problem. Please see
162
+
[Response API documentation](https://docs.python-requests.org/en/latest/api/#requests.Response) for complete information on what's available in this object.
0 commit comments