Issue Details (XML | Word | Printable)

Key: GALAXY-94
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: To be reviewed To be reviewed
Assignee: Unassigned
Reporter: Andrew Perepelytsya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Galaxy

Atom POST response returns broken Location response headers

Created: 01/Feb/08 06:24 PM   Updated: 02/Feb/08 07:45 PM
Component/s: Atom
Affects Version/s: 1.0-beta-1
Fix Version/s: 1.0-beta-2

Time Tracking:
Not Specified

Labels:
User impact: Medium


 Description  « Hide
Log from the GalaxyDslTest for artifact POST:

mule-core-2.0.0-RC2.jar
DEBUG 2008-02-01 19:20:20,671 [main] httpclient.wire.header: >> "POST /api/registry/Default%20Workspace HTTP/1.1[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "Content-Type: application/java-archive[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "X-Artifact-Version: 1[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "Slug: mule-core-2.0.0-RC2.jar[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "Authorization: Basic YWRtaW46YWRtaW4=[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "Host: localhost:8080[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "Content-Length: 1002286[\r][\n]"
DEBUG 2008-02-01 19:20:22,031 [main] httpclient.wire.header: >> "[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "HTTP/1.1 201 Created[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "HTTP/1.1 201 Created[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "Server: Apache-Coyote/1.1[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "ETag: "8949341cb27ff5bdb68e311b5b358b12"[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "Content-Location: /api/registry/Default%20Workspace//mule-core-2.0.0-RC2.jar;atom[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "Location: /api/registry/Default%20Workspace//mule-core-2.0.0-RC2.jar;atom[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "Content-Type: application/atom+xml; type=entry;charset=UTF-8[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "Transfer-Encoding: chunked[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "Date: Sat, 02 Feb 2008 00:20:22 GMT[\r][\n]"
DEBUG 2008-02-01 19:20:22,093 [main] httpclient.wire.header: << "[\r][\n]"
Create: 201

Notice how Content-Location and Location header feature a duplicate forward slash before the artifact name. Another oddity - why does it log 2 responses with 201 code?



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse added a comment - 02/Feb/08 07:45 PM
This was actually a bug in Abdera, which I've since fixed in the latest Abdera snapshot.