NUBIC/castanet — Issue #6: ServiceTicket#retrieve_pgt! does not fail if PGT retrieval fails
Author: rsutphin
Created: 2012-01-16 06:39:56+00:00
State: open

Contrary to the documentation, `ServiceTicket#retrieve_pgt!` does not only accept 200 responses from the proxy retriever. No matter the status, it sets `ServiceTicket#pgt` to the body of the response. It would be helpful if it raised an error immediately. The current behavior defers the failure until the first PT is requested.