Is the resource's path /content/mynode/testing.html or /content/mynode/testing?

And when you say "specify a MIME type" are you referring to the accepts header?

Justin

On Apr 23, 2010, at 3:20 PM, Jason Chen <[email protected]> wrote:

> Hi everyone,
> 
> I just recently started using Sling so I have a few questions that I have to
> ask.
> 
> Is it possible for curl to specify a MIME type and have Sling resolve the
> file for me when I choose to GET it?
> 
> For example,
> I have a html page at http://localhost:8080/content/mynode/testing.html
> 
> If I were to ask curl to get a file of mime type text/html, and specify the
> url to be at http://localhost:8080/content/mynode/testing, will Sling know
> that I am talking about testing.html?
> 
> Thanks,
> Jason Chen

Reply via email to