passthru all headers
This commit is contained in:
parent
6490b8fef6
commit
734787c7b4
1 changed files with 1 additions and 4 deletions
|
@ -26,10 +26,7 @@ void main(List<String> argsRaw) async {
|
||||||
) async {
|
) async {
|
||||||
final authResponse = await http.get(
|
final authResponse = await http.get(
|
||||||
settings.authUri,
|
settings.authUri,
|
||||||
headers: {
|
headers: request.headers,
|
||||||
if (request.headers['cookie'] != null)
|
|
||||||
'cookie': request.headers['cookie']!,
|
|
||||||
},
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (authResponse.statusCode != 200) {
|
if (authResponse.statusCode != 200) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue