Bitsadmin /setcustomheaders |
Applies To: Windows Server 2008 R2,Windows Server 2008
Add a custom HTTP header to a GET request.
Syntax
Copy Code |
|
bitsadmin /SetCustomHeaders <Job> <Header1> <Header2> <. . .> |
Parameters
Parameter |
Description |
Job |
The job's display name or GUID |
Header1 Header2 . . . |
The custom headers for the job |
Remarks
- This command is used to add a custom HTTP header to a GET request sent to an HTTP server.
Examples
The following example adds a custom HTTP header for the job named myDownloadJob.
Copy Code |
|
C:\>bitsadmin / SetCustomHeaders myDownloadJob "Accept-encoding:deflate/gzip" |