BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTTP Protocol - how to tell server my program supports frame

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet
View previous topic :: View next topic  
Author Message
Gerben Abbink
Guest





PostPosted: Wed Jul 14, 2004 8:20 pm    Post subject: HTTP Protocol - how to tell server my program supports frame Reply with quote



Hi,

I'm communicating with an Exchange server via the HTTP protocol, using
WinInet functions such as HttpSendRequest.
The server responds with an HTML page containing "This page uses
frames, but your browser doesn't support them."
How can i tell the server that i do support frames?
Back to top
Dodgy
Guest





PostPosted: Wed Jul 14, 2004 8:31 pm    Post subject: Re: HTTP Protocol - how to tell server my program supports f Reply with quote



On 14 Jul 2004 13:20:39 -0700, [email]support (AT) xmlBlueprint (DOT) com[/email] (Gerben
Abbink) waffled on about something:

Quote:
Hi,

I'm communicating with an Exchange server via the HTTP protocol, using
WinInet functions such as HttpSendRequest.
The server responds with an HTML page containing "This page uses
frames, but your browser doesn't support them."
How can i tell the server that i do support frames?

It sounds like it's looking at the http request, the useragent field
and deciding you're not a frames browser in which case tell it you're
ie by setting your useragent field in the request to
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Hope this helps.

D0d6y.
--
MUSHROOMS ARE THE OPIATE OF THE MOOSES

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.