Closed imgurbot12 closed 7 years ago
Hmmmm....
https://github.com/squeaky-pl/japronto/blob/master/tutorial/5_response.md
# And of course you can provide custom `headers`.
def headers(request):
return request.Response(
text='headers',
headers={'X-Header': 'Value',
'Refresh': '5; url=https://xkcd.com/353/'})
@aphillipo Wow. Guess I overlooked that in the examples. I started searching through source code to try and find this. Thanks.
The base server headers list:
But I would like to be able to provide:
I mainly want to disguise Japronto as another web-service...