What are GCD files?
A GCD file is just a simple text file that describes where the actual
resource is, what it is named, etc. Format is important and order might
be important. Here is a sample.
Important things to know about the GCD file:
- It must have Unix-style linefeeds (LF, not CR/LF or CR)
- It must have 2 linefeeds after the Content-Size line
- The server must respond with the MIME type "text/x-pcs-gcd"
- Content-URL must be the correct URL, and must be an absolute URL (it
must start with http:// or https://)
- Content-Size must be the exact number of bytes of the file
- Content-Type must match the MIME type returned by the server and must
match the MIME type in the Mime Type List
- Only some Content-Types are usable with some phones -- Not all
phones understand GIF images or MP3 files, for example
- Avoid spaces in filenames
- Only one space comes after the ":" for all of the headers.