<s> from __future__ import print_function , unicode_literals <EOL> from flask import request , make_response <EOL> from weblab . core . wl import weblab_api <EOL> @ weblab_api . route_web ( '<STR_LIT>' ) <EOL> def language ( ) : <EOL> accept_language = request . headers . get ( '<STR_LIT>' ) <EOL> if accept_language is None : <EOL> contents = '<STR_LIT>' <EOL> else : <EOL> contents = '<STR_LIT>' % accept_language <EOL> response = make_response ( contents ) <EOL> response . content_type = '<STR_LIT>' ; <EOL> return response </s>
