Use `-UseBasicParsing` in all `Invoke-WebRequest` calls so that IE is not a dependency
Closed this issue · 5 comments
TylerLeonhardt commented
For every Invoke-WebRequest
in our tests, we need to add -UseBasicParsing
. Without it, PowerShell on Windows will use IE. We don't want that to happen because we don't need complex parsing of the response body.
TylerLeonhardt commented
Thanks to @BladeFireLight for pointing this out!
BladeFireLight commented
If think that is the default in v6, without it though it kills the validations on server core.
TylerLeonhardt commented
Yeah there is no -UseBasicParsing
in v6 so we'll have to check for that.
TylerLeonhardt commented
I just found out that v6 has -UseBasicParsing
it just doesn't do anything because basic parsing is the default. We'll be able to simply add that flag and it should work everywhere.
TylerLeonhardt commented
Fixed in #94 😄