Using .get('format', 'RAW') to default to the 'RAW' format if 'Given format "XXX"' hasn't been specified.
Changed 'reply format' to 'response format'
Added 'request format {format}'