From Wikipedia. I got a genuine thrill reading this, and hope you do too:When the book was first published, Whitman was fired from his job at the Department of the Interior after Secretary of the Interior James Harlan read it and said he found it very offensive.Poet John Greenleaf Whittier was said to have thrown his 1855 edition into the fire.Thomas Wentworth Higginson wrote, "It is no discredit to Walt Whitman that he wrote 'Leaves of Grass,' only that he did not burn it afterwards." Critic Rufus Wilmot Griswold reviewed Leaves of Grass in the November 10, 1855, issue of The Criterion, calling it "a mass of stupid filth" and categorized its author as a filthy free lover. Griswold also suggested, in Latin, that Whitman was guilty of "that horrible sin not to be mentioned among Christians", one of the earliest public accusations of Whitman's homosexuality. Griswold's intensely negative review almost caused the publication of the second edition to be suspended.Whitman included the full review, including the innuendo, in a later edition of Leaves of Grass.
On March 1, 1882, Boston district attorney Oliver Stevens wrote to Whitman's publisher, James R. Osgood, that Leaves of Grass constituted "obscene literature". Urged by the New England Society for the Suppression of Vice . . .Stevens demanded the removal of the poems "A Woman Waits for Me" and "To a Common Prostitute", as well as changes to "Song of Myself", "From Pent-Up Aching Rivers", "I Sing the Body Electric", "Spontaneous Me", "Native Moments", "The Dalliance of the Eagles", "By Blue Ontarioâ€™s Shore", "Unfolded Out of the Folds", "The Sleepers", and "Faces".
P.S. Whitman's title Leaves of Grass was a veiled way of saying "this is trash written by a hack or unimportant person."