• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get() method And post() method?

 
Vipul Gulhane
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how much kb data can be sent by get() method And post() method?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34851
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's not a limit that I know of. You can send huge downloads back through a get method and there's no reason post would be difference.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Places like YouTube and Flickr have users post giant photos and videos, which run from a megabyte or two to many gigabyte.
 
Arun Giridharan
Ranch Hand
Posts: 290
Debian Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The HTTP 1.0 has a limitation over GET but HTTP 1.1 has no limitation as i know.
 
Jeff Ishar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Http method get() has limitation of sending only 256 characters via URL.
Post() method on other hand has no limitation.

Hope it helps


Cheers
 
Dieter Quickfend
Bartender
Posts: 543
4
Java Netbeans IDE Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is false. The HTTP standard does not enforce a GET limitation. The limitation is a browser-dependent limitation. Meaning some browsers allow longer URL's than others.


RFC 2616 (Hypertext Transfer Protocol HTTP/1.1) section 3.2.1 says
The HTTP protocol does not place any a priori limit on the length of a URI. Servers MUST be able to handle the URI of any resource they serve, and SHOULD be able to handle URIs of unbounded length if they provide GET-based forms that could generate such URIs. A server SHOULD return 414 (Request-URI Too Long) status if a URI is longer than the server can handle (see section 10.4.15).

Note: Servers ought to be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations might not properly support these lengths.
 
Santhosh ayiappan
Ranch Hand
Posts: 80
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no limitation from the server standpoint, but most of the browser's have a limitation of 1024 bits.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34851
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's two limits under discussion here. I answered by how much data can be sent back to the browser. The posters talking about limits are referring to data sent to the server. Which were you asking about?
 
elvadas nono
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The specification does not limit the size of a POST/GET request.
But since GET resquest parameters names and values are embeded in the input url, and the input parameters of the post section
are located in the body section of the input xml, some problem may occurs with older browser with some request, since they limit
url to 255,512 or 1024 characters.
 
Pat Farrell
Rancher
Posts: 4678
7
Linux Mac OS X VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Santhosh ayiappan wrote:There is no limitation from the server standpoint, but most of the browser's have a limitation of 1024 bits.

Many old browsers did have a limit on GET. But I think you are off at least an order of magnitude. 1024 bits is nothing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic