Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Bitsadmin /setcustomheaders

Published: April 17, 2012

Updated: April 17, 2012

Applies To: Windows 8, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Add a custom HTTP header to a GET request.

bitsadmin /SetCustomHeaders <Job> <Header1> <Header2> <. . .>

 

Parameter Description

Job

The job's display name or GUID

Header1 Header2 . . .

The custom headers for the job

  • This command is used to add a custom HTTP header to a GET request sent to an HTTP server.

The following example adds a custom HTTP header for the job named myDownloadJob.

C:\>bitsadmin / SetCustomHeaders myDownloadJob "Accept-encoding:deflate/gzip"

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.