es it to do
> the right thing? Can I put something in my POST which explicitly sets the
> MIME type (a not-ideal workaround)?
>
>
> -Original Message-
> From: Robert Munteanu [mailto:romb...@apache.org]
> Sent: Friday, October 09, 2015 3:31 PM
> To: users@sling.a
ut something in my POST which explicitly sets the
> MIME type (a not-ideal workaround)?
>
>
> -Original Message-
> From: Robert Munteanu [mailto:romb...@apache.org]
> Sent: Friday, October 09, 2015 3:31 PM
> To: users@sling.apache.org
> Subject: Re: Uploaded file M
ubject: Re: Uploaded file MIME type
Have you inspected your HTTP traffic, specifically the POST request
that your client sends? Your client might be sending the image/x-png
as a Content-Type header. Not 100% sure that the SlingPostServlet
takes that into account, but I think it does.
Regards
Juli
type
(a not-ideal workaround)?
-Original Message-
From: Robert Munteanu [mailto:romb...@apache.org]
Sent: Friday, October 09, 2015 3:31 PM
To: users@sling.apache.org
Subject: Re: Uploaded file MIME type
On Fri, Oct 9, 2015 at 9:02 PM, Roll, Kevin wrote:
> Simply adding that bundle to my
Robert Munteanu [mailto:romb...@apache.org]
> Sent: Friday, October 09, 2015 11:28 AM
> To: users@sling.apache.org
> Subject: Re: Uploaded file MIME type
>
> On Fri, 2015-10-09 at 13:17 +, Roll, Kevin wrote:
>> So if I understand correctly there are two possibilities:
>>
olume enough that
this is acceptable.
-Original Message-
From: Robert Munteanu [mailto:romb...@apache.org]
Sent: Friday, October 09, 2015 11:28 AM
To: users@sling.apache.org
Subject: Re: Uploaded file MIME type
On Fri, 2015-10-09 at 13:17 +, Roll, Kevin wrote:
> So if I understand c
-
> From: Steven Walters [mailto:steven.walt...@icidigital.com]
> Sent: Wednesday, October 07, 2015 3:10 PM
> To: users@sling.apache.org
> Subject: Re: Uploaded file MIME type
>
> On Wed, Oct 7, 2015 at 2:46 PM, Roll, Kevin
> wrote:
>
> > I am trying to upload
?
-Original Message-
From: Steven Walters [mailto:steven.walt...@icidigital.com]
Sent: Wednesday, October 07, 2015 3:10 PM
To: users@sling.apache.org
Subject: Re: Uploaded file MIME type
On Wed, Oct 7, 2015 at 2:46 PM, Roll, Kevin wrote:
> I am trying to upload a PNG file to the repository, us
]
Sent: Wednesday, October 07, 2015 3:10 PM
To: users@sling.apache.org
Subject: Re: Uploaded file MIME type
On Wed, Oct 7, 2015 at 2:46 PM, Roll, Kevin wrote:
> I am trying to upload a PNG file to the repository, using the
> SlingPostServlet. The problem I am encountering is that the
On Wed, Oct 7, 2015 at 2:46 PM, Roll, Kevin wrote:
> I am trying to upload a PNG file to the repository, using the
> SlingPostServlet. The problem I am encountering is that the field
> jcr:mimeType on the automatically created node ends up being "image/x-png",
> which is causing me a lot of troub
I am trying to upload a PNG file to the repository, using the SlingPostServlet.
The problem I am encountering is that the field jcr:mimeType on the
automatically created node ends up being "image/x-png", which is causing me a
lot of trouble downstream because "x-" indicates a non-standard MIME t
11 matches
Mail list logo