Exception: Cybertrain::BodyUndecodable
- Inherits:
-
QueryInvalid
- Object
- StandardError
- QueryInvalid
- Cybertrain::BodyUndecodable
- Defined in:
- cybertrain/http/request.rb
Overview
The request body cannot be decoded as its Content-Encoding says
(corrupt gzip data, an encoding the server does not decode, or a gzip
body in a program with no inflater installed). Raised by
Request#decoded_body; a client fault, answered 400 (see ClientError).
A QueryInvalid, like the other faults in request data, so
rescue Cybertrain::QueryInvalid covers it.