Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:40 PM
Mak
Guest
 
Posts: n/a
Default How to set Expect :100 Continue in http request ?

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
  #2  
Old July 20th, 2005, 06:40 PM
Jim Dabell
Guest
 
Posts: n/a
Default Re: How to set Expect :100 Continue in http request ?

Mak wrote:
[color=blue]
> 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 ?[/color]

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

  #3  
Old July 20th, 2005, 06:40 PM
Mak
Guest
 
Posts: n/a
Default Re: How to set Expect :100 Continue in http request ?

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 <jim-usenet@jimdabell.com> wrote in message news:<6ZSdnXtEAfDHl6_d4p2dnA@giganews.com>...[color=blue]
> Mak wrote:
>[color=green]
> > 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 ?[/color]
>
> 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?[/color]
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles