mozilla/socorro — pull request #1372 by peterbe (2013-07-29 23:03:59+00:00)
Title: fixes bug 899306 - RawCrash == ProcessedCrash === CrashData

@rhelmer r?

So, for the `ProcessedCrash` you no longer have a choice to set `format=processed` because it's the only sensible default for that.

For `RawCrash` you can still pass in whatever you like for format. `raw`, `meta` or `processed`. However, if you pass in `processed` you get the same output as `ProcessedCrash`. If you pass in `raw` what's stored better be a JSON looking thing or else the API will not let you have it. The only smart value for `format` is `meta` which is also the default.

This patch only makes it slightly tidier. Not a huge improvement. It's only really a superficial thing for the API documentation. However, it fills in the default for you anyway.