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


Groups > comp.lang.clipper.visual-objects > #6611 > unrolled thread

AddRequestHeaders method

Started by"John S." <jsommer_notthis_@alltel.net>
First post2014-02-21 07:34 -0500
Last post2014-02-25 16:45 -0500
Articles 4 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  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

#6611 — AddRequestHeaders method

From"John S." <jsommer_notthis_@alltel.net>
Date2014-02-21 07:34 -0500
SubjectAddRequestHeaders method
Message-ID<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.





[toc] | [next] | [standalone]


#6612

From"Jamal" <someone@example.com>
Date2014-02-21 10:58 -0500
Message-ID<le7t32$3mu$1@speranza.aioe.org>
In reply to#6611
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.




[toc] | [prev] | [next] | [standalone]


#6616

From"Jamal" <someone@example.com>
Date2014-02-25 16:12 -0500
Message-ID<lej106$2p0$1@speranza.aioe.org>
In reply to#6612
Did the info I provided help you?

"Jamal"  wrote in message news:le7t32$3mu$1@speranza.aioe.org...

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.



[toc] | [prev] | [next] | [standalone]


#6617

From"John S." <jsommer_notthis_@alltel.net>
Date2014-02-25 16:45 -0500
Message-ID<edf6f$530d10e0$adbdca10$30709@ALLTEL.NET>
In reply to#6616
Hi Jamal,

Sorry for the delay.  It did help. Thank you very much.  I successfully 
added the headers but I am having other issues.  I was planning on 
responding when I had everything working but I am not quite there.

Thanks again,
John

"Jamal" <someone@example.com> wrote in message 
news:lej106$2p0$1@speranza.aioe.org...
> Did the info I provided help you?
>
> "Jamal"  wrote in message news:le7t32$3mu$1@speranza.aioe.org...
>
> 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.
>
>
>
> 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web