HttpError
HTTP status codes recognised by libtorrent, ported from errors::http_errors (include/libtorrent/error_code.hpp) and the http_error_category message formatter in src/error_code.cpp.
In libtorrent these live in a separate http_category() whose message(ev) renders the numeric status followed by a space and the reason phrase, e.g. "404 Not Found". Unlike LibtorrentError, the code values here are sparse (real HTTP status codes), so this is not an index-addressable table; use fromCodeOrNull for lookup.
Entries
Link copied to clipboard
204 No Content
Link copied to clipboard
300 Multiple Choices
Link copied to clipboard
301 Moved Permanently
Link copied to clipboard
302 Moved Temporarily (Found)
Link copied to clipboard
304 Not Modified
Link copied to clipboard
400 Bad Request
Link copied to clipboard
401 Unauthorized
Link copied to clipboard
500 Internal Server Error
Link copied to clipboard
501 Not Implemented
Link copied to clipboard
502 Bad Gateway
Link copied to clipboard
503 Service Unavailable