users@jersey.java.net

.xml extension is stripped?

From: Roger Pack <rogerdpack_at_gmail.com>
Date: Tue, 8 Dec 2009 14:01:46 -0700

I've noticed that with the following "jersey" method

  @PUT
  @Path("/{nodeLocator}/{streamName}")
  public void createStream(
          @PathParam("streamName") String streamName,
          @HeaderParam("Content-Type") String type
...

When I call it with, say "go.jpg" with content-type "image/jpeg"
the String streamName is set to "go.jpg"

However, when I call it with "go.xml" with content-type "text/xml"

the String streamName is set to "go" and the content-type is passed
through correctly ("text/xml").

This with a standard jersey interface, using mozilla poster [or the
jersey client api] as the posting agent.

Bug?

Much thanks.
-r