wasabi icon indicating copy to clipboard operation
wasabi copied to clipboard

Does not follow 3xx redirects

Open zacharydanger opened this issue 13 years ago • 3 comments

For instance the WSDL: https://services.PWSDemo.com/CreditCardTransactionService.svc?wsdl

This produces a 307 redirect with a location header. Instead of following the redirect, it assumes there's been an error and raises an HTTPError.

zacharydanger avatar Nov 29 '12 21:11 zacharydanger

this will be fixed with savon version 3 by handing the control of http-requests to the user.

rubiii avatar Jul 03 '13 18:07 rubiii

Is this fixed? I am having the same problem...

dfoleyAFG avatar May 15 '14 18:05 dfoleyAFG

@dfoleyAFG it's still an unresolved issue. From looking at the discussion on the still-open HTTPI issue, it seems like it wasn't clear whether this should be fixed in Wasabi or HTTPI. It seems fairly straightforward to fix, but reading some of the history... it does reveal itself to be rather complicated.

If someone issued a PR (with tests) for this behavior to Wasabi or HTTPI I'd definitely try to get it merged in. Right now I'm learning towards implementing it in Wasabi because of some quirks in getting all of the adapters to support this.

Interested parties might want to read https://github.com/savonrb/httpi/issues/67 for some more history, information and discussion about how this might be solved.

tjarratt avatar May 16 '14 06:05 tjarratt