473,387 Members | 1,318 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,387 software developers and data experts.

http header Connection: close

I have to retrive xml file from our partner site, and thay said:
if you retreive this file programatically (and I should) you should set the
Connection http header to "close".
How can I do that?
Nov 19 '05 #1
3 2385
Look at HttpRequest class, property Headers.

Eliyahu

"TomislaW" <to*********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP12.phx.gbl...
I have to retrive xml file from our partner site, and thay said:
if you retreive this file programatically (and I should) you should set the Connection http header to "close".
How can I do that?

Nov 19 '05 #2
they are telling you not to use a KeepAlive session. in HttpWebRequest, you
set KeepAlive to false.

-- bruce (sqlwork.com)

"TomislaW" <to*********@hotmail.com> wrote in message
news:ud**************@TK2MSFTNGP12.phx.gbl...
I have to retrive xml file from our partner site, and thay said:
if you retreive this file programatically (and I should) you should set
the Connection http header to "close".
How can I do that?

Nov 19 '05 #3
Eliyahu Goldin wrote:
Look at HttpRequest class, property Headers.


Http*Web*Request. That header can be set through the KeepAlive property.
Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #4

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

Similar topics

7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
8
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad...
1
by: Gmansky | last post by:
Hi, I have a page where I want to place the title of the song on the header. I am getting an error: System.NullReferenceException: Object variable or With block variable not set. I have...
3
by: Patrick Fogarty | last post by:
I am programming what is to be a web service client that will use an HTTP-POST to request and retrieve data. The remote server (written in java for what it's worth) requires basic authentication...
1
by: eagerlearner | last post by:
I am using winsock to build a HTTP 1.1 compliant client, when I made the request with the header GET / HTTP/1.1 Host : www.google.com After this header is send using function send(), and when I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.