Aide:HttpSetUserAgent.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Document original V3.3.6.1 :

###Function###
HttpSetUserAgent

###Description###
Sets the user-agent string sent with InetGet() and InetRead() requests.

###Syntax###
HttpSetUserAgent ( "user agent" )


###Parameters###
@@ParamTable@@
user agent
	The string to set as the user-agent.  The default user-agent is "AutoIt".  Passing an empty string will reset the user-agent back to the default.
@@End@@


###ReturnValue###
None.


###Remarks###
None.


###Related###
InetGet, InetGetSize, InetRead


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
HttpSetUserAgent

###Description###
Configure la chaîne User-Agent envoyée par les requêtes InetGet() et InetRead().


###Syntax###
HttpSetUserAgent ( "user agent" )


###Parameters###
@@ParamTable@@
user agent
	La chaîne à utiliser pour le User-Agent. Le User-Agent par défaut est "AutoIt". Passer une chaine vide comme user-agent, réinitialisera sa valeur par défaut.
@@End@@


###ReturnValue###
Aucune.


###Remarks###
Aucune.


###Related###
<a href="InetGet.htm">InetGet</a>, <a href="InetGetSize.htm">InetGetSize</a>, <a href="InetRead.htm">InetRead</a>


###Example###
@@IncludeExample@@


Traducteur : ZDS

Contributeurs (pour les modifications avant le Wiki) : Tlem