Exception: Cybertrain::MultipartMalformed
- Inherits:
-
QueryInvalid
- Object
- StandardError
- QueryInvalid
- Cybertrain::MultipartMalformed
- Defined in:
- cybertrain/http/multipart.rb
Overview
The body of a multipart/form-data request is not well formed (no or an invalid boundary, a part without its headers or its closing delimiter, a Content-Disposition that is not form-data, a bad name, …). A client fault: ClientError answers 400 (listed in CLIENT_FAULTS). The four Multipart classes are QueryInvalid subclasses with unique bare names, because Class#name has no namespace under Spinel (NOTES rule 46).