On Thu, 30 Dec 2004 17:58:09 -0800, Ian Huynh [EMAIL PROTECTED] wrote:
We are using TC 5.0.28 on JDK 1.4.2
We have a client who POST to TC using header Transfer-encoding: chunked
and at the same time specify the Content-Length header
when posting to us.
It seems that if the Content
transfer-coding (section 3.6),
unless the message is terminated by closing the connection.
3.If a Content-Length header field (section 14.13) is present, its
decimal value in OCTETs represents both the entity-length and the
transfer-length. The Content-Length header field MUST
We are using TC 5.0.28 on JDK 1.4.2
We have a client who POST to TC using header Transfer-encoding: chunked and
at the same time specify the Content-Length header
when posting to us.
It seems that if the Content-Length is specified, TC is dropping the last few
bytes..??
This same customer
In AJPv13 doc, there is a note:
*Note: *The *content-length* header is extremely important. If it is
present and non-zero, the container assumes that the request has a body
(a POST request, for example), and immediately reads a separate packet
off the input stream to get that body.
Does
-Length
In AJPv13 doc, there is a note:
*Note: *The *content-length* header is extremely important. If it is present
and non-zero, the container assumes that the request has a body (a POST
request, for example), and immediately reads a separate packet off the input
stream to get that body.
Does it mean
This has been bother me for quite some time and I have searched and
googled everywhere but can not find an answer. I just want to make sure
whether AJPv13 reads request body sent in chunks (no Content-Length in
header). If AJPv13 does handle it, I may need to find some other causes
like I may
I have a client browser that acts a bit in a non-standard fashion, for http
responses with content-length set (keep-alive) it expects the content-length
worth of data PLUS an extra \r\n that is not counted in the content length
header sent.
When I set the HttpServletResponse contentLength
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 4:33 PM
To: '[EMAIL PROTECTED]'
Subject: Content length
I have a client browser that acts a bit in a non-standard fashion, for
http responses with content-length set (keep-alive) it expects the
content-length worth of data PLUS an extra \r\n
: Friday, October 24, 2003 4:33 PM
To: '[EMAIL PROTECTED]'
Subject: Content length
I have a client browser that acts a bit in a non-standard fashion, for
http responses with content-length set (keep-alive) it expects the
content-length worth of data PLUS an extra \r\n that is not counted
Tell me about it, I can't change the browser however which blows...
-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 04:03 PM
To: 'Tomcat Users List'
Subject: RE: Content length
Why would you try to support something non standard? What
Can the client handle chunked encoding? Then you don't need to set
content-length at all.
Jeff Jackson
On Fri, 24 Oct 2003, William Bondy wrote:
I have a client browser that acts a bit in a non-standard fashion, for http
responses with content-length set (keep-alive) it expects the content
Unfortunately no, it looks like the only solution is change the connector
used with Tomcat, though I really wan't to avoid that...
-Original Message-
From: Jeff Jackson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 05:08 PM
To: Tomcat Users List
Subject: Re: Content length
I really wan't to avoid that...
-Original Message-
From: Jeff Jackson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 05:08 PM
To: Tomcat Users List
Subject: Re: Content length
Can the client handle chunked encoding? Then you don't need to set
content-length at all.
Jeff Jackson
Every so often a response to a POST request to Tomcat either
fails to include the Content-Length header or mangles it so
it doesn't read Content-Length.
FYI, this is still happening. Here is what the request headers look
like:
POST /Phantom/servlet HTTP/1.1
User-Agent
Every so often a response to a POST request to Tomcat either fails to
include the Content-Length header or mangles it so it doesn't read
Content-Length. Such replies occur both when content exists and when
there is no content. I call HttpServletResponse.setContentLength()
every time I build
Hi,
Is it possible to 'deactivated' in Tomcat the parameter 'Content-Length' in
header from a message HTTP, i.e. so that this parameter does not appear in
the header?
Thank's
Alan
-
To unsubscribe, e-mail: [EMAIL PROTECTED
At 10:55 PM 1/9/2003, Bill Barker wrote:
[The following describes my understanding of how Coyote works for Tomcat
4.x and 5.x -- don't know about 3.3 or responding through a webserver
connector.]
Tomcat sets the content length automatically in two circumstances:
* Static files delivered
All appservers I've worked with have included the Content-Length header in
all HTTP responses without any specific setting by a developer. So far as
I know, this is not a spec requirement, though it seems to be common
practice. Anyone out there know Tomcat's specific behavior
On Thu, 9 Jan 2003, Justin Ruthenbeck wrote:
Date: Thu, 09 Jan 2003 15:09:44 -0800
From: Justin Ruthenbeck [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Content-Length header set automatically?
All appservers I've worked
ROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Content-Length header set automatically?
All appservers I've worked with have included the Content-Length header
in
all HTTP responses without any specific setting by a developer. So fa
log !!!
He comments about a possible bug of mod_jk in relationship a content
length...
Had anybody already this problem ?
Thanks !!!
_
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
--
To unsubscribe, e-mail
How do I get the Content-Length to be returned with using mod_jk and
mod_deflate? Using mod_proxy and mod_deflate this was not a problem.
However, I need to use the jk/jk2 connector for various other reasons
but I also need the content-length returned to the client.
I am running Apache 2.0.42
'
property set to the JSP URL, not an action.
This problem persists even if I cut the third form down to this:
htmlheadHello/headbodyHello./body/html
My conclusion is that the SSL connector is probably setting the
Content-Length header incorrectly, causing browsers that look at that
header to expect more
on the previous page has its 'action'
property set to the JSP URL, not an action.
This problem persists even if I cut the third form down to this:
htmlheadHello/headbodyHello./body/html
My conclusion is that the SSL connector is probably setting the
Content-Length header incorrectly
not sure if the problems are connected, but i ran into a bug with filters
not setting the content-length of the response correctly. please check the
archives for my post entitled RE: anyone using filter to set content
length of response?.
it would require digging into the tomcat code, but i
On 0, tek1 [EMAIL PROTECTED] wrote:
not sure if the problems are connected, but i ran into a bug with filters
not setting the content-length of the response correctly. please check the
archives for my post entitled RE: anyone using filter to set content
length of response?.
it would
setting the content length (i.e. the mobile client recognized the
response's content length).
it appears that the content length isn't being set properly in a filter in
tomcat (both4.0.4 and 4.1.10), and only appears to be happening with mobile
java clients (as web browsers have extra
Hi,
I have been struggling to get PDF output using filters
and JSPs in vain. I can get the right output from the
tomcat 4.0.3 but header info is incorrect or missing,
causing the browsers (IE, Netscape and Opera) to fail
to launch a Adobe Acrobat Plugin.
I am successful to get the output using
have to search for this limitation property?
Failure log:
We always get a StandardWrapperValve[OpenCmsServlet]: Servlet.service()
for servlet OpenCmsServlet threw exception
java.io.IOException: Posted content length of 36238773 exceeds limit of
8388608-error
This failure (se
:[EMAIL PROTECTED]]
Sent: 25. febrúar 2002 18:32
To: [EMAIL PROTECTED]
Subject: Servlet threw exception java.io.IOException: Posted content
length of 36238773 exceeds limit of 8388608
Hi everybody,
we are using Tomcat to serve our servlet-based
Content-Management-System (OpenCMS
IOException(Posted content length of + length + exceeds
limit of + m_maxSize);
}
-Ursprüngliche Nachricht-
Von: Bührle, Martin, FCI1 [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 25. Februar 2002 19:32
An: [EMAIL PROTECTED]
Betreff: Servlet threw exception java.io.IOException: Posted
:
java.io.IOException: Posted content length of 2800901 exceeds limit of
1048576
Where is defined this limitation and how can I modifie it ??
Thanks in advance.
Seb.
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto
: DESBOIS Sébastien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:41 AM
To: [EMAIL PROTECTED]
Subject: Posted content length exceeds limit
Hi all,
I am using a servlet to post data to my server.
the html page I am using looks like:
!DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN
html
I send the following request to Tomcat's web server
GET /index.html HTTP/1.0
Content-Length=2583
If I specifie the CONTENT-LENGTH I get the index.html file.
But, if I dont't specifie the CONTENT-LENGTH, I have a 404 error.
How comes that Tomcat Web server is not able to determine the length
of this 2nd line and
considers that the request is finished, so it serves you the page.
Xavier Marjou
-Original Message-
From: Judith NATAF [SMTP:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 3:56 PM
To: Tomcat (E-mail)
Subject: Content-Length
I send the following request
The problem I am having is that tomcat 3.2.3 seems to (kind of) limit
content length to Integer.MAX_VALUE (2^31-1 or 2GB).
If I want to serve very large objects things do not work so well.
I seems that ServletResponse.SetContentLength(int) is the prefered
manner to sent the content length
tomcat 3.2.3 is not http 1.1..
Mvgr,
Martin
-Original Message-
From: David Daney [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:48 PM
To: [EMAIL PROTECTED]
Subject: Content-Length limited to 2^31-1???
The problem I am having is that tomcat 3.2.3 seems to (kind
At 02:47 PM 8/30/2001, you wrote:
The problem I am having is that tomcat 3.2.3 seems to (kind of) limit
content length to Integer.MAX_VALUE (2^31-1 or 2GB).
If I want to serve very large objects things do not work so well.
I seems that ServletResponse.SetContentLength(int) is the prefered
You can always provide content length value using setHeader like methods to avoid int
limitations. Tomcat shouldn't overwrite header value if it's already set. You can also
use chunked out where content length simple ignored for files greater than 2GB.
Dmitry R., [EMAIL PROTECTED]
Chief
hi,
I'm trying to send data to a servlet through a TCP connection. I create my
socket, then send a GET /myapp HTTP/1.1 ... But I need to define the
content-length for apache to transfert the data to the servlet and
afterwaerds I can't send any more data through this opened connection. Has
If you want to send data, you need to POST.
- r
On Mon, 20 Aug 2001 14:47:39 +0200 [EMAIL PROTECTED] wrote:
hi,
I'm trying to send data to a servlet through a TCP connection. I create my
socket, then send a GET /myapp HTTP/1.1 ... But I need to define the
content-length for apache
On Mon, 20 Aug 2001 [EMAIL PROTECTED] wrote:
hi,
I'm trying to send data to a servlet through a TCP connection. I create my
socket, then send a GET /myapp HTTP/1.1 ... But I need to define the
content-length for apache to transfert the data to the servlet and
afterwaerds I can't send
I've opened with a POST but I still can't send data without a content-length
parameter in my header when I have apache + tomcat whereas tomcat standalone
works fine.
I've sent my testing classes also (I use \t\t as my data separator).
Thanks for any help
Emmanuel
ServletOpenSocket.java
Hi,
Is anyone else having problems with content-length using an int? If I try
to serve any files 4gig, the content-length returned is incorrect (I
assume the cutoff is 2 gig since ints are signed in java, but I have only
tested 4gig files). I took a quick look at the source code, found
Hello,
I'm developing a VoiceXML application using tellme.com's tools. Apparently,
their browser doesn't work properly unless the correct content-length header
is set. Tomcat doesn't set this correctly from the JSPs I'm writing. How
can I configure tomcat to set the correct content-length? I
45 matches
Mail list logo