mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-05 21:55:51 -05:00
f0d4b98ac1
This change ensures content-type header is set to ensure correect encoding detection, eg: on pwsh. Resolves: python-poetry/poetry#4845
28 lines
449 B
JSON
28 lines
449 B
JSON
{
|
|
"headers": [
|
|
{
|
|
"headers": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "text/plain; charset=utf-8"
|
|
}
|
|
],
|
|
"source": "/"
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "text/plain; charset=utf-8"
|
|
}
|
|
],
|
|
"source": "/(.+)\\.py"
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"destination": "/install-poetry.py",
|
|
"source": "/"
|
|
}
|
|
]
|
|
}
|