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?