# Mongrell issues "HTTP element REQUEST\_URI is longer than the

**URL:** <https://www.ruby-forum.com/t/mongrell-issues-http-element-request-uri-is-longer-than-the/89925>\
**Category:** Rails\
**Created:** [March 23, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/mongrell-issues-http-element-request-uri-is-longer-than-the/89925 "2007-03-23T21:30:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimache](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c67d28/32.png) [@jimache](https://www.ruby-forum.com/u/jimache)\
**Post date:** [March 23, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/mongrell-issues-http-element-request-uri-is-longer-than-the/89925/1 "2007-03-23T21:30:16Z")

</div>

Hi every one,

I use a couple of urls that base64 encode a rather complex query into  
the URI.  
I get this error on mongrel “HTTP element REQUEST\_URI is longer than  
the 512 allowed length”. Is there any way around this ?!?

Any input is appreciated.

Thank you,

---

<div class="post-metadata">

**Author:** ![jimache](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c67d28/32.png) [@jimache](https://www.ruby-forum.com/u/jimache)\
**Post date:** [March 23, 2007, 9:43pm UTC](https://www.ruby-forum.com/t/mongrell-issues-http-element-request-uri-is-longer-than-the/89925/2 "2007-03-23T21:43:17Z")

</div>

> I use a couple of urls that base64 encode a rather complex query into  
> the URI.  
> I get this error on mongrel “HTTP element REQUEST\_URI is longer than  
> the 512 allowed length”. Is there any way around this ?!?

no idea if there is a better way, but POST should let you pass a  
biiiiiiig request, so maybe you can try posting instead of getting the  
url.

i know the idea after POST is not this, since you are making a query and  
not changing the status of the server, but it’s easy and it should work.

regards,

javier ramirez

## –

Estamos de estreno… si necesitas llevar el control de tus gastos  
visita [http://www.gastosgem.com](http://www.gastosgem.com) !!Es gratis!!

---

<div class="post-metadata">

**Author:** ![jimache](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c67d28/32.png) [@jimache](https://www.ruby-forum.com/u/jimache)\
**Post date:** [March 23, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/mongrell-issues-http-element-request-uri-is-longer-than-the/89925/3 "2007-03-23T21:59:18Z")

</div>

jimache wrote:

> I use a couple of urls that base64 encode a rather  
> complex query into the URI. I get this error on  
> mongrel “HTTP element REQUEST\_URI is longer than  
> the 512 allowed length”. Is there any way around this ?!?

You might try passing the query, or the search terms to construct it,  
along  
as params.

Just a thought. Probably not one you haven’t already thought of 😉

Bill
