do httpheaders and httpproxy reset after handler ends?

Andre Garzia andre at andregarzia.com
Fri Jul 18 19:58:29 EDT 2008


Chipp and Pierre,

thank you guys! So far they are persistent, no post requests in that
application, only couple GETs...

Thanks for the help!
Andre

On Fri, Jul 18, 2008 at 6:52 PM, Pierre Sahores <psahores at free.fr> wrote:
> Andre,
>
> I don't have idea about what is the best with the httpproxy part of your
> question.
>
> About the httpheaders, in my experience (both MC and Rev http clients), it's
> always a good precaution to set the httpheaders again before each new
> occurence of a POST command.
>
> See this transcript-based pgdump trigger function (PostgreSQL database
> backup) as a for years running production state example :
>
> function newdbpgdump d,p
>  put "&tdSQL=" & urlencode(reagenc(p)) into larequete
>  put "doSQL=632&toTDB=" & d & larequete & "&IDC=" & encefv1("pierres") &
> "&VAL=" & encefv1("roussilles") into retour
>  set httpheaders to "Content-type: application/x-www-form-urlencoded" &
> return
>  post retour to url (line 1 of fld "revwas")
>  if it is "" then
>    answer "La connexion avec le serveur distant est rompue." & return &
> return & \
>        "Vérifiez votre configuration d'accès à l'internet"
>    exit to top
>  else return word 1 to -1 of it & return & return
> end newdbpgdump
>
> Hope this can help,
>
> Best,
> --
> Pierre Sahores
> mobile : 06 03 95 77 70
> www.sahores-conseil.com
>
>
> Le 18 juil. 08 à 22:25, Andre Garzia a écrit :
>
>> Hello Friends,
>>
>> a quick question, anyone knows how persistent is httpproxy and
>> httpheaders? I want to know if I need to set them everytime or if
>> setting them on openstack will be enough for all subsequent URL calls.
>>
>> Thanks
>> PS: Yes, I could sniff that with wireshark, but I felt like asking...
>> Andre
>>
>> --
>> http://www.andregarzia.com All We Do Is Code.
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list