As far as I know this limit only applies to IEs, not other browsers.
The reason I need this is because I use <iframe> as a workaround for
cross-domain POST, that's why I need quite a bit of characters...
If this doesn't work somehow, I'd have to go back to unfiltered - but
I just fell in love with spray...
Cheers,
Stephan
the error you are seeing is being raised in spray-cans HTTP message parser, which is fully configurable.
The ServerConfig object passed to the HttpServer has a field `parserConfig`, which has a field `maxUriLength`, which has a default value of 2048.
You can adapt it to your needs.
If you configure the spray-can HttpServer via the akka.conf file (which is the default) you can also use the 'spray-can.parser.max-uri-length' setting:
spray-can {
parser {
max-uri-length = 4096
}
}
Cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc
On Dec 9, 10:26 pm, Mathias <math...@spray.cc> wrote:
> Stephan,
>
> the error you are seeing is being raised in spray-cans HTTP message parser, which is fully configurable.
> The ServerConfig object passed to the HttpServer has a field `parserConfig`, which has a field `maxUriLength`, which has a default value of 2048.
> You can adapt it to your needs.
>
> If you configure the spray-can HttpServer via the akka.conf file (which is the default) you can also use the 'spray-can.parser.max-uri-length' setting:
>
> spray-can {
> parser {
> max-uri-length = 4096
> }
> }
>
> Cheers,
> Mathias
>
> ---
> math...@spray.cchttp://www.spray.cc
good idea, I created an issue for this:
https://github.com/spray/spray-can/issues/11
Thanks and cheers,
Mathias
---
mat...@spray.cc
http://www.spray.cc