Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

stripped down 200 OK response?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  apache authorization and timeouts  
Author Message
dima600eb

External


Since: Feb 11, 2004
Posts: 2



(Msg. 1) Posted: Tue Feb 24, 2004 12:20 pm
Post subject: stripped down 200 OK response?
Archived from groups: alt>apache>configuration (more info?)

Hi,
Is there a way to minimize the amount of data in the http headers for a
specific servlet/application that is sent back in an OK packet?

I have a program that communicates with Apache/Tomcat by posting data to
a servlet, but its a one-directional communication. The program doesn't
expect any data back. Of course the servlet sends back an "http ok"
packet back to my application to indicate that the request has been
processed. The problem is that this application will be used over
modems, and the 'http ok' packet is really big for its purpose and takes
up a lot of bandwidth:

this is a sample outgoing request:

"POST /apppath?key1=value1&key2=value2 HTTP/1.1
Content-length: 10
Host: 192.168.129.192
<10 bytes of binary data>"

and I get back this:

"HTTP/1.1 200 OK
Date: Tue, 24 Feb 2004 01:13:22 GMT
Server: Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.6b DAV/2
mod_jk/1.2.2
Content-Length: 2
Content-Type: text/plain; charset=ISO-8859-1

OK"

which I promptly discard because I don't care about it.

So the OK packet is bigger than my data packet.
All I really need is something like:
"HTTP/1.1 200 OK
Content-Length: 2
OK"

maybe even
"HTTP/1.1 200 OK" - but for now I purposefully write back the OK string.

is this possible? I haven't been able to find much about this.
Thank you!


Dmitriy

 >> Stay informed about: stripped down 200 OK response? 
Back to top
Login to vote
user2587

External


Since: Dec 08, 2003
Posts: 11



(Msg. 2) Posted: Wed Feb 25, 2004 2:56 pm
Post subject: Re: stripped down 200 OK response? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

change the server information to be Tokens only


"Dmitriy A" <dima600eb DeleteThis @yahoo.com> wrote in message news:pM6dnYrvw5RnGqbd4p2dnA@giganews.com...
 > Hi,
 > Is there a way to minimize the amount of data in the http headers for a
 > specific servlet/application that is sent back in an OK packet?
 >
 > I have a program that communicates with Apache/Tomcat by posting data to
 > a servlet, but its a one-directional communication. The program doesn't
 > expect any data back. Of course the servlet sends back an "http ok"
 > packet back to my application to indicate that the request has been
 > processed. The problem is that this application will be used over
 > modems, and the 'http ok' packet is really big for its purpose and takes
 > up a lot of bandwidth:
 >
 > this is a sample outgoing request:
 >
 > "POST /apppath?key1=value1&key2=value2 HTTP/1.1
 > Content-length: 10
 > Host: 192.168.129.192
 > <10 bytes of binary data>"
 >
 > and I get back this:
 >
 > "HTTP/1.1 200 OK
 > Date: Tue, 24 Feb 2004 01:13:22 GMT
 > Server: Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.6b DAV/2
 > mod_jk/1.2.2
 > Content-Length: 2
 > Content-Type: text/plain; charset=ISO-8859-1
 >
 > OK"
 >
 > which I promptly discard because I don't care about it.
 >
 > So the OK packet is bigger than my data packet.
 > All I really need is something like:
 > "HTTP/1.1 200 OK
 > Content-Length: 2
 > OK"
 >
 > maybe even
 > "HTTP/1.1 200 OK" - but for now I purposefully write back the OK string.
 >
 > is this possible? I haven't been able to find much about this.
 > Thank you!
 >
 >
 > Dmitriy
 >
 >
 >
 >
 >
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: stripped down 200 OK response? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
RedirectMatch and HTTP response 305 - Hi All, I'm experiencing a strange problem with Apache. I have configured Apache to use virtual hosting. The configuration seems quite simple and clear: ######### NameVirtualHost 193.204.227.5 <VirtualHost 193.204.227.5> ServerName..

apache running but no response - Hi together, today i'm installed the new Apache2 webserver on my Windows XP SP1 platform. All OK, the server runs as a service under windows, but if I try to visit the local serverpage at the adress http://127.0.0.1 or localhost, i get the IE standard..

HTTP Response header - Hello everybody I have a problem to set HTTP response header. I'm using apache httpd as a frontend of my application server. My application server send some http headers, that have to be to modified. I could not use mod_headers because "append&quot...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]