Skip to content

Commit

Permalink
Merge pull request #383 from macisamuele/maci-fix-doc-detail
Browse files Browse the repository at this point in the history
Fix detail in requests and responses documentation page
  • Loading branch information
macisamuele authored Jul 16, 2018
2 parents 7e95a02 + 0ed9364 commit d30b9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/requests_and_responses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ If the request succeeded and the server returned a HTTP status code between 100
:meth:`.HttpFuture.response()` will be a :class:`~bravado.response.BravadoResponse` instance. You may access the Swagger
result of your call through :attr:`.BravadoResponse.result`.

If the server sent a response with a HTTP code of 400 or higher, by default a subclass of :class:`.HTTPError` will be raised
If the server sent a response with a HTTP code of 300 or higher, by default a subclass of :class:`.HTTPError` will be raised
when you call :meth:`.HttpFuture.response`. The exception gives you access to the Swagger result (:attr:`.HTTPError.swagger_result`)
as well as the HTTP response object (:attr:`.HTTPError.response`).

Expand Down

0 comments on commit d30b9bd

Please sign in to comment.