[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Commit error using 1.8.0 final

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Tue, 18 Jun 2013 12:38:00 +0400

On Tue, Jun 18, 2013 at 9:55 AM, Ben Reser <ben_at_reser.org> wrote:
> On Tue, Jun 18, 2013 at 1:33 AM, Mark Phippard <markphip_at_gmail.com> wrote:
>> I sent Lieven a tcpdump. Hopefully that will help. In the meantime I
>> found another tool that analyzes HTTP traffic. The last request
>> before it fails is a DELETE request that the server responds with a
>> 204. Would that be unexpected by Serf?
>>
>> The URL for the DELETE request is:
>>
>> http://subclipse.tigris.org/svn/subclipse/!svn/act/b61b1e79-ba56-41b3-8b07-8649146e8212
>
> The 204 shouldn't be odd, that just means a response without content.
>
Most likely serf doesn't handle HTTP 204 response code and expect
message body, while server doesn't send it. Quoting RFC 2616 [1]:
[[[
The 204 response MUST NOT include a message-body, and thus is always
terminated by the first empty line after the header fields.
]]]

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

-- 
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com
Received on 2013-06-18 10:39:05 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.