mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-08-27 13:17:12 -04:00
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": "/"
|
|
}
|
|
]
|
|
}
|