1851, Turning Out a Bagman: A Legend of Brighton Downs, in Charles Dickens, William Harrison Ainsworth, Albert Smith Bentley's Miscellany, Volume XXIX, page 259, Two lean, ewe-necked, clipt chestnuts, tucked up in the ribs, with hard work and bad feeding, but with such flowing bang-tails as at once stamped them in the eyes of our friends as “ out-and-out ” thorough-breds—were led up and down by John. […] The bang-tails, no doubt, supposing themselves out for their usual “airing,” put themselves in the regular side-long position, and struck at once into a sort of hectic canter ; a particular movement, peculiar to Brighton bang-tails, and adapted to the most innocent equestrian.
Source: wiktionary