On Tue, Oct 13, 2009 at 10:17 AM, Frederick Cheung
<[email protected]> wrote:

>> 1. I like the use of the "temporary" new.foo.com domain name and
>> redirect.
>> Do you know how well Ruby libraries like Net::HTTP, ActiveResource, or
>> RestClient will handle 302 Redirects?
>> I'm concerned that user's "posts" to the application will fail when
>> confronted with a redirect.
>
> I'm not sure. It's certainly possible that some of your api clients
> wouldn't understand them

Yeah, redirects work great with human-oriented browser clients, but
I'd be extremely surprised to see them work with an API client even
for a GET, and I'd bet not at all for POST data.

Using a proxy is probably a better idea if you want to avoid the DB
circular replication complexity.

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to