Skip to content

Commit

Permalink
Changed content type to pdf for message content
Browse files Browse the repository at this point in the history
  • Loading branch information
froden committed Mar 20, 2012
1 parent 8d1290c commit dd3ffa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -19,7 +19,7 @@

public enum ContentType {

PDF(MediaType.APPLICATION_OCTET_STREAM),
PDF(MediaTypes.APPLICATION_PDF),
HTML(MediaType.TEXT_HTML);

private final String requestMediaType;
Expand Down
Expand Up @@ -19,5 +19,6 @@ public class MediaTypes {

public static final String DIGIPOST_MEDIA_TYPE_V1 = "application/vnd.digipost-v1+xml";
public static final String DIGIPOST_MEDIA_TYPE_V2 = "application/vnd.digipost-v2+xml";
public static final String APPLICATION_PDF = "application/pdf";

}

0 comments on commit dd3ffa4

Please sign in to comment.