473,320 Members | 1,825 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

POST size ?

WJ
I use POST method to send a payload of three "Name,Value" pairs to an aspx
page. The 2nd pair with a value of a string type and is 700 bytes long.
However, the string is truncated to 360 bytes (approx.) by the time it
reaches the destination page.

I thought POST would cary a higher payload. What is the maximum size of a
"name,value" pair can a POST absorb ?

Thanks

John
Nov 19 '05 #1
4 1410
I don't know the Maximum size of a post you have to take a look at the HTTP
specs for that on www.w3c.org

You should try setting the ContentLength of your HTTP POST to 700
"WJ" <Jo*******@HotMail.Com> wrote in message
news:uI**************@tk2msftngp13.phx.gbl...
I use POST method to send a payload of three "Name,Value" pairs to an aspx
page. The 2nd pair with a value of a string type and is 700 bytes long.
However, the string is truncated to 360 bytes (approx.) by the time it
reaches the destination page.

I thought POST would cary a higher payload. What is the maximum size of a
"name,value" pair can a POST absorb ?

Thanks

John

Nov 19 '05 #2
On 19 Feb 2005, "WJ" <Jo*******@HotMail.Com> postulated in
news:uI**************@tk2msftngp13.phx.gbl:
I use POST method to send a payload of three "Name,Value" pairs to an aspx page. The 2nd pair with a value of a string type and is 700 bytes long. However, the string is truncated to 360 bytes (approx.) by the time it reaches the destination page.

I thought POST would cary a higher payload. What is the maximum size of a "name,value" pair can a POST absorb ?

Thanks

John


This can be configured using the urlscan.ini file if you're using
urlscan with IIS (and you should be).

This file says the default length of the query string is 2048. This
probably varies with each IIS version. The above value came from
version 5.1 (Windows 2000 server)

-- ipgrunt

Nov 19 '05 #3
WJ wrote:
I use POST method to send a payload of three "Name,Value" pairs to an
aspx page. The 2nd pair with a value of a string type and is 700
bytes long. However, the string is truncated to 360 bytes (approx.)
by the time it reaches the destination page.

I thought POST would cary a higher payload. What is the maximum size
of a "name,value" pair can a POST absorb ?


There's no limit. Maybe the specified Content-Length header is smaller
than the actual payload's size. Can you post some code?

Cheers,

--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #4
WJ
Thank you all for your response. Unfortunately, the "content-length" is not
the culprit. In my string value, whenever there was a double-quotes ("), the
string was truncated at that point. I changed the double quotes to a single
quote and it accepts as large a string as it could.

John
Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Michael Brennan-White | last post by:
If I submit my for using a get action the resulting page loads . If I use a post action I get an error page saying "The page cannot be found". I am calling the originating page!!! This happens...
0
by: Andreas Suurkuusk | last post by:
Hi, I just noticed your post in the "C# memory problem: no end for our problem?" thread. In the post you implied that I do not how the garbage collector works and that I mislead people. Since...
3
by: Geoff | last post by:
I have been asked to add postal rates to a web page shopping cart checkout procedure. After contacting the post office I discovered that they used XML to receive postal rate requests and send back...
0
by: Paul D. Sullivan | last post by:
I've been trying to find out how to increase the font size in the text entry fields in Invision Power Board 1.3 for a while. The part where you enter your post and do the quick reply and all that...
0
by: WIWA | last post by:
Hi, I want to login to a password protected website and fetch the content of the page behind. I have based my code on http://weblogs.asp.net/jdennany/archive/2005/04/23/403971.aspx. When I use...
3
by: Bill | last post by:
I'm using the POST method to submit a simple form html page with yes/no and checkbox fields to an asp response page which stores the values in a new dim string, then uses it to build a new table...
8
by: Laith Zraikat | last post by:
I am trying to invoke a post request from code behind of an asp.net page using "WebClient" object, and I want the user to be redirected to the action url as well. So far Ive been able to send...
2
by: andy | last post by:
I have a routine I call to post XML from vb.net to a url over http It can be the XML file can be quite a size sometime I expect it to exceed 10mb. I started using a routine to post the file to a...
0
by: Event Horizon | last post by:
Hi, I'm trying to add an simple upload applet to shopping cart script. My new applet form sends all needed post fields ( quantity, product, etc... ) but the "file" post field is hardcoded in...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.