Closed nexxai closed 2 years ago
This is good. However, I would appreciate if you could make a test fixture and add it to the data provider (instead of a new test case).
Basically you create a .in
file with the expected curl command and then a .out
file of the same name with the Http
client code.
In this case, you'd have a curl command with the --location
option and Http
code that doesn't have any extra options/methods than normal.
Sorry about that. Fixture created.
Epic. Thanks!
Closes #10
When the
--location
or-L
shortcut is given to follow redirects, it is silently dropped since this is the defaultHttp
client behaviour.