@app.route('<STR_LIT>')<EOL>def image(request):
headers = get_headers(request)<EOL>if '<STR_LIT>' not in headers:<EOL><INDENT>return image_png(request)  <EOL><DEDENT>accept = headers['<STR_LIT>'].lower()<EOL>if '<STR_LIT>' in accept:<EOL><INDENT>return image_webp(request)<EOL><DEDENT>elif '<STR_LIT>' in accept:<EOL><INDENT>return image_svg(request)<EOL><DEDENT>elif '<STR_LIT>' in accept:<EOL><INDENT>return image_jpeg(request)<EOL><DEDENT>elif '<STR_LIT>' in accept or '<STR_LIT>' in accept:<EOL><INDENT>return image_png(request)<EOL><DEDENT>else:<EOL><INDENT>return status_code(<NUM_LIT>)<EOL><DEDENT>
Returns a simple image of the type suggest by the Accept header.