=== modified file 'backend/ipp.c'
--- old/backend/ipp.c	2011-10-27 23:13:49 +0000
+++ new/backend/ipp.c	2011-10-28 09:12:41 +0000
@@ -1155,6 +1155,7 @@
     for (i = 0; i < format_sup->num_values; i ++)
       if (!_cups_strcasecmp(final_content_type, format_sup->values[i].string.text))
       {
+        fprintf(stderr, "DEBUG: Selected document_type %s\n", final_content_type);
         document_format = final_content_type;
 	break;
       }
@@ -1165,7 +1166,8 @@
 	if (!_cups_strcasecmp("application/octet-stream",
 	                format_sup->values[i].string.text))
 	{
-	  document_format = "application/octet-stream";
+	  fprintf(stderr, "DEBUG: No document_type, forcing to NULL\n");
+	  document_format = NULL;
 	  break;
 	}
     }

