Tuesday, November 29, 2011

[Rails] The requested URL could not be retrieved

Hi All,

I am using the unicorn server for my rails application. When I invoke a HTTP request with the length of query string greater than the acceptable one, I have received the HTTP response code as 400 (Invalid URL) instead of getting the 414 code (The requested URL's length exceeds the capacity limit for this server). Any ideas to get the appropriate error response code?


--
Cheers,
Rafi

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate