Bezier curve's UV stretching

  • Convert the curve to mesh (alt + c -> mesh from curve)
  • select one face, move the for verts to different corners of the 0-1 uv space
  • unwrap this face
  • select the whole mesh, the previous face is now the active face
  • unwrap with ‘Follow Active Quad’