For what it is worth, the venerable LibWWW from W3 doesn't mention a PDF type or a document type. https://www.w3.org/Library/src/HTGopher.c That expired draft Gopher II RFC from 2016 was pushing for 'd' for docs including PDF https://www.ietf.org/archive/id/draft-matavka-gopher-ii-03.txt