Max URL length?

1 040 zobrazení
Přeskočit na první nepřečtenou zprávu

Tom Harrington

nepřečteno,
14. 1. 2008 17:52:0814.01.08
komu: Google Chart API
I've been finding that sometimes my charts show no data-- as if the
chd parameter were missing. I suspect my URLs are getting too long,
but I don't see a maximum length documented. Does anyone know what it
is?

JMan

nepřečteno,
14. 1. 2008 22:16:3214.01.08
komu: Google Chart API
Here is an interesting discussion on the subject of long URLs:

http://www.boutell.com/newfaq/misc/urllength.html

There are both browser and web server considerations to take into
account.

Apparently, URLs over 2000 characters are not recommended.

Tom Harrington

nepřečteno,
14. 1. 2008 23:49:5714.01.08
komu: google-c...@googlegroups.com
Not recommended in that discussion because Internet Explorer can't
handle more than 2083 (or couldn't when that page was written). But
I'm not using IE, and most of the examples cited can handle far more.
Google charts seems to give up after about 1024 though. At least
that's how it looks from here.


--
Tom Harrington
atomi...@gmail.com
AIM: atomicbird1

Anton Shevchuk

nepřečteno,
15. 1. 2008 2:02:0215.01.08
komu: Google Chart API

Tom Harrington

nepřečteno,
15. 1. 2008 19:51:5015.01.08
komu: google-c...@googlegroups.com
On Jan 15, 2008 12:02 AM, Anton Shevchuk <AntonS...@gmail.com> wrote:
> Read this answer: http://www.boutell.com/newfaq/misc/urllength.html

That's the same link posted previously, and it still doesn't address
what limits Google might be setting on this API.

As I mentioned previously, my URLs are still well below the limits
described on that page when chart processing appears to be cut off.
It looks like the limit is a little higher than I had previously
guessed-- somewhere around 1200 characters, maybe?

Ryan Joseph

nepřečteno,
31. 1. 2008 13:47:1931.01.08
komu: Google Chart API
I've found experimentally that a ~2000-character URL is about as much
as Google Charts will accept... you *might* be able to squeeze by
within 2048 characters (a natural limit we would all agree), but I ran
into intermittent "Bad Request" errors when I did.

Also, if you're running into problems with the max length of a GET
URL, try one of the other encoding schemes, they may at least allow
you to cram more data into your URL in the same number of characters.

-R

On Jan 15, 4:51 pm, "Tom Harrington" <atomicb...@gmail.com> wrote:
> On Jan 15, 2008 12:02 AM, Anton Shevchuk <AntonShevc...@gmail.com> wrote:
>
> > Read this answer:http://www.boutell.com/newfaq/misc/urllength.html
>
> That's the same link posted previously, and it still doesn't address
> what limits Google might be setting on this API.
>
> As I mentioned previously, my URLs are still well below the limits
> described on that page when chart processing appears to be cut off.
> It looks like the limit is a little higher than I had previously
> guessed-- somewhere around 1200 characters, maybe?
>
> --
> Tom Harrington
> atomicb...@gmail.com
> AIM: atomicbird1
Odpovědět všem
Odpověď autorovi
Přeposlat
0 nových zpráv