The JSON and TOML parsers differ in how they handle an empty body so check for a ContentLength of zero first and return a "Missing blueprint" error to the client. Includes updated tests for the JSON path, and new tests for empty TOML blueprints. |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| compose.go | ||
| upload.go | ||
| util.go | ||