geemus/fog — Issue #575: Dynect async API calls
Author: dylanegan
Created: 2011-10-26 03:53:10+00:00
State: open

Dynect's API seems to occasionally operate with an asynchronous API and it will return a 307 status code in that case with the job number.

```
response => #"nginx/0.7.67", "Date"=>"Wed, 26 Oct 2011 03:02:04 GMT", "Content-Type"=>"text/html", "Transfer-Encoding"=>"chunked", "Connection"=>"keep-alive", "Location"=>"/REST/Job/35859881"}, @status=307>
```

It looks like this is very rare, but still an annoyance to anyone using the API. I'm wondering if we should handle this in the library to wait until the job is completed or return the job number and let the user deal with it.