Set Header

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 5: Line 5:
 
The command accepts the following header requests:
 
The command accepts the following header requests:
  
'''Accept
+
'''Accept'''
  
Accept-Charset
+
'''Accept-Charset'''
  
Accept-Encoding
+
'''Accept-Encoding'''
  
Accept-Language
+
'''Accept-Language'''
  
Accept-Datetime
+
'''Accept-Datetime'''
  
Authorization
+
'''Authorization'''
  
Cache-Control
+
'''Cache-Control'''
  
Connection
+
'''Connection'''
  
Cookie
+
'''Cookie'''
  
Content-Length
+
'''Content-Length'''
  
Content-MD5
+
'''Content-MD5'''
  
Content-Type
+
'''Content-Type'''
  
Date
+
'''Date'''
  
Expect
+
'''Expect'''
  
From
+
'''From'''
  
Host
+
'''Host'''
  
If-Match
+
'''If-Match'''
  
If-Modified-Since
+
'''If-Modified-Since'''
  
If-None-Match
+
'''If-None-Match'''
  
If-Range
+
'''If-Range'''
  
 
If-Unmodified-Since
 
If-Unmodified-Since
  
Max-Forwards
+
'''Max-Forwards'''
  
Origin
+
'''Origin'''
  
Pragma
+
'''Pragma'''
  
Proxy-Authorization
+
'''Proxy-Authorization'''
  
Range
+
'''Range'''
  
Referrer
+
'''Referrer'''
  
TE
+
'''TE'''
  
User-Agent
+
'''User-Agent'''
  
Upgrade
+
'''Upgrade'''
  
Via
+
'''Via'''
  
Warning'''
+
'''Warning'''
  
  

Revision as of 17:57, 20 October 2015

Set Header is a Settings Command in the Professional edition of UBot Studio.

This command sets the header for future browser requests.

The command accepts the following header requests:

Accept

Accept-Charset

Accept-Encoding

Accept-Language

Accept-Datetime

Authorization

Cache-Control

Connection

Cookie

Content-Length

Content-MD5

Content-Type

Date

Expect

From

Host

If-Match

If-Modified-Since

If-None-Match

If-Range

If-Unmodified-Since

Max-Forwards

Origin

Pragma

Proxy-Authorization

Range

Referrer

TE

User-Agent

Upgrade

Via

Warning


For more information on how headers work, see here.


Referrer Url: The referral url data will be sent to the website in the specified browser window.

It will allow your bot to communicate with the website in order to let it know the url you are coming from.

Example


set referrer("http://www.tumblr.com/dashboard")
navigate("http://www.whatismyreferer.com/", "Wait")


Running the scripts sets the referrer to the tumblr url.


Ref.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox