Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6612

Re: AddRequestHeaders method

From "Jamal" <someone@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: AddRequestHeaders method
Date 2014-02-21 10:58 -0500
Organization Aioe.org NNTP Server
Message-ID <le7t32$3mu$1@speranza.aioe.org> (permalink)
References <60564$53074982$471fbab7$30587@ALLTEL.NET>

Show all headers | View raw


John,

I do not the CHttp class, however, did you open the request first via the 
OpenRequest( ) method.
This method sets Self:hRequest  which is necessary for AddRequestHeaders to 
work

Looking at the Internet SDK, if self:hRequest is NULL_PTR, the 
AddRequestHeaders  does not add any headers. So, this might be the problem.

HTH,
Jamal

"John S."  wrote in message news:60564$53074982$471fbab7$30587@ALLTEL.NET...

Hi all,


Has anyone successfully used the AddRequestHeaders method of the cHttp class
(2.8 SP4)? I can not seem to successfully add a header and can not find any
sample code.

Thanks,

John S.




Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

AddRequestHeaders method "John S." <jsommer_notthis_@alltel.net> - 2014-02-21 07:34 -0500
  Re: AddRequestHeaders method "Jamal" <someone@example.com> - 2014-02-21 10:58 -0500
    Re: AddRequestHeaders method "Jamal" <someone@example.com> - 2014-02-25 16:12 -0500
      Re: AddRequestHeaders method "John S." <jsommer_notthis_@alltel.net> - 2014-02-25 16:45 -0500

csiph-web