473,387 Members | 1,590 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.

How to set Expect :100 Continue in http request ?

Mak
Hi Everybody,

I try set the Expect: 100-continue in my request to server. The way I
do it is by setting :
<META http-equiv="Expect" content="100-continue">

in my html page. But, it does not do the trick. Can anyone let me know
how to do that ?

Thanks in advances.

Mak
Jul 20 '05 #1
2 7192
Mak wrote:
I try set the Expect: 100-continue in my request to server. The way I
do it is by setting :
<META http-equiv="Expect" content="100-continue">

in my html page. But, it does not do the trick. Can anyone let me know
how to do that ?


Using <meta> elements to emulate real HTTP headers usually fails. However,
even if it worked as designed, the <meta> element isn't what you need -
it's for response headers (headers that the server sends to the client).
There isn't anything you can put in an HTML document that will tell a
user-agent to send certain headers.

What are you trying to accomplish?

--
Jim Dabell

Jul 20 '05 #2
Mak
Hi Jim,
I guess I misinterpret the meaning of this <meta>. I hope it will set
the Expect:100-continue in the http request.
What I try to do is this:
I have an application to upload some files from browser to Web server.
I am using IBM HTTP Server/WebSphere 3.5 and the upload work with only
problem -- it can't forward to a predefine error page if file is over
our file size limit. Instead, it will give you "Can't find server"
error. According IBM, this is known bug and they have a fix. But their
fix will wait for the file to be transmitted completed before
forwarding to a error page. So, if you have a hugh file, it will take
a very long time before saying the file is too big. That is not
acceptable and waste a lot of network bandwidth.
Again, IBM says we may able use Expect/Continue in HTTP 1.1 and they
do a simple test with telnet and it should OK. But, of course, we are
not using telnet and with Internet Explorer and HTML, I just wonder
how to set Expect/Continue in HTTP request header. After going thru
HTML4.0 spec, I thought <META> may be able to do what I want.
Apparent, my understanding is incorrect.

Regards,

Mak
Jim Dabell <ji********@jimdabell.com> wrote in message news:<6Z********************@giganews.com>...
Mak wrote:
I try set the Expect: 100-continue in my request to server. The way I
do it is by setting :
<META http-equiv="Expect" content="100-continue">

in my html page. But, it does not do the trick. Can anyone let me know
how to do that ?


Using <meta> elements to emulate real HTTP headers usually fails. However,
even if it worked as designed, the <meta> element isn't what you need -
it's for response headers (headers that the server sends to the client).
There isn't anything you can put in an HTML document that will tell a
user-agent to send certain headers.

What are you trying to accomplish?

Jul 20 '05 #3

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

Similar topics

4
by: techy techno | last post by:
Hii I am trying to write down a cdont aplication which will email the survey form to the TO address with the answers checked by the user using the survey form I am 100% sure that there is...
1
by: Dave | last post by:
Hi, This is one which I've seen several times on the web but no-ones ever come up with a definite answer or response: When sending HTTP requests through HTTPWebRequest it always includes the...
0
by: Xavier Osa | last post by:
Hi, I have an ASP.Net web page that you can download a file. As Fergunson's problem, it prompts twice dialog boxes only if I select Open button. If I select Save button, it prompts once. I'm...
1
by: ori | last post by:
Hi, I'm facing a problem when trying to continue normal execution flow within a HttpHandler ProcessRequest method. In my application we currently have a custom HttpHandler registered which...
0
by: volcovcommander | last post by:
I'm experiencing what looks like an http 1.1 100 continue issue with IE 6, IIS 6 and an ASP.NET app. The scenario is such: - I send POST request to page A which then should redirect to page B;...
0
by: real_ashwin | last post by:
My team and i are working on a project which is almost completed its a Vb.net application which uses webservices to send and receive data from our main server. The ISA on our local area network'...
3
by: Christian Lutz | last post by:
Hy there I have a Web Services written in Java, running on Tomcat. The Client is written in C#. When i monitor the request/Response with TCPMon (included in Tomcat) i can observer the following...
1
by: Stefan Mueller | last post by:
Sometimes I see the following text on my PHP generated page HTTP/1.1 100 Continue What's that and how can I avoid that? Stefan
5
by: archana | last post by:
Hi all i am having application which is using asychronous web request. At a time i am processing 5 urls asynchronously. Application working properly for 5 asynchronous call. But sometimes CPU...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.