Thanks, Bruce. I've been struggling with a poor connection to post the following:
The DT file appears to have been transcribed by ear from a record, (presumably Fairport?) but it names no source of any kind, contains mishearings and fails to mention the poem's author, Richard Lovelace, who wrote it some time between 1642 and 1649 (when it was first published, in a collection of his poems entitled Lucasta). TO ALTHEA FROM PRISON
Alan of Australia posted corrections in a thread of 1997, and Bill in Alabama posted the missing third verse; these have not yet been incorporated into the current version of the DT. LYR Correction: To Althea From Prison.
Notes in the 1887 edition of Percy's Reliques:
"The music to this most exquisite of prison songs was composed by the celebrated Dr. John Wilson, and first printed (according to Dr. Rimbault) in his Cheerful Ayres or Ballads set for three Voices, Oxford, 1660."
I don't know whether or not Fairport used Wilson's music.