Sample code for 30+ languages & platforms
Chilkat2-Python

Example: Rest.AddHeader method

Demonstrates the AddHeader method.

Chilkat Chilkat2-Python Downloads

Chilkat2-Python
import chilkat2

rest = chilkat2.Rest()

rest.AddHeader("User-Agent","MyApplication/1.0")

# ...
# ...
# ...