kittinunf

    kittinunf

    3 years ago
    do you have a good idea on how to fix this?
    d

    Derk-Jan Karrenbeld

    3 years ago
    Yes. I think if we have an empty body/redirect body, it shouldn't try to deserialise.
    kittinunf

    kittinunf

    3 years ago
    i see …. I will try to work on this today
    Bro, one more question! in test case,
    fun followRedirectToNotFound()
    when the redirected location is 404 (not found), it should not be redirected? Is this correct?
    d

    Derk-Jan Karrenbeld

    3 years ago
    If the redirected location does not exist, it should give you the 404.
    Because we DO redirect, and then the next step is just handling it as if it's the first hop in the request.
    kittinunf

    kittinunf

    3 years ago
    I see! Then the test will need to be fixed a bit. Then, it should return Result failure for 404 then 😄