You don't need to fire off a full task here; setting the header can be done synchronously.

Also, if you're going to check for null in the request, it should be a "throw if null" style check - there should always be a request at this point in the code.