passthru all headers

This commit is contained in:
Henry Hiles 2025-07-26 22:41:33 -04:00
commit 734787c7b4
No known key found for this signature in database

View file

@ -26,10 +26,7 @@ void main(List<String> argsRaw) async {
) async {
final authResponse = await http.get(
settings.authUri,
headers: {
if (request.headers['cookie'] != null)
'cookie': request.headers['cookie']!,
},
headers: request.headers,
);
if (authResponse.statusCode != 200) {