private Cursor queryRequestHeaders(SQLiteDatabase db,Uri uri){
  String where=DownloadContract.RequestHeaders.COLUMN_DOWNLOAD_ID + "=" + getDownloadIdFromUri(uri);
  String[] projection=new String[]{DownloadContract.RequestHeaders.COLUMN_HEADER,DownloadContract.RequestHeaders.COLUMN_VALUE};
  return db.query(DownloadContract.RequestHeaders.HEADERS_DB_TABLE,projection,where,null,null,null,null);
}

private Cursor queryRequestHeaders ( SQLiteDatabase db , Uri uri ) { String where = DownloadContract . RequestHeaders . COLUMN_DOWNLOAD_ID + "=" + getDownloadIdFromUri ( uri ) ; String [ ] projection = new String [ ] { DownloadContract . RequestHeaders . COLUMN_HEADER , DownloadContract . RequestHeaders . COLUMN_VALUE } ; return db . query ( DownloadContract . RequestHeaders . HEADERS_DB_TABLE , projection , where , null , null , null , null ) ; }
handle a query for the custom request headers registered for a download .
