[Cyberduck-trac] [Cyberduck] #2896: WebDAV upload failed (Expect: 100-continue)

Cyberduck trac at trac.cyberduck.ch
Wed Jan 14 09:35:49 CET 2009


#2896: WebDAV upload failed (Expect: 100-continue)
-----------------------------+----------------------------------------------
 Reporter:  anonymous        |        Owner:  dkocher
     Type:  defect           |       Status:  closed 
 Priority:  high             |    Milestone:  3.1.2  
Component:  webdav           |      Version:  3.1.1  
 Severity:  normal           |   Resolution:  wontfix
 Keywords:  webdav expected  |  
-----------------------------+----------------------------------------------
Changes (by dkocher):

  * status:  new => closed
  * resolution:  => wontfix


Old description:

> I am using webdav with popular HTTP servers lighttpd and nginx. Latest
> version of Cyberduck breaks uploading, giving 417 HTTP error.
>
> In fact lighttpd really does not support "Expect:" field. The problem is
> that there are no fallback (to HTTP/1.0). Switching to HTTP/1.0 after
> receiving 417 error would be the best solution.
>

> I/O Error: Upload failed
> /file.html
> null (417)
>
> ...
> PUT /file.html HTTP/1.1[\r][\n]
> Content-Type: text/html[\r][\n]
> User-Agent: Cyberduck/3.1.1 (4457)[\r][\n]
> Host: anonymous.host:8080[\r][\n]
> Expect: 100-continue[\r][\n]
> Content-Length: 889[\r][\n]
> [\r][\n]
> HTTP/1.1 417 Expectation Failed[\r][\n]
> HTTP/1.1 417 Expectation Failed[\r][\n]
> Connection: close[\r][\n]
> Content-Length: 0[\r][\n]
> Date: Wed, 14 Jan 2009 00:04:13 GMT[\r][\n]
> Server: lighttpd/1.4.20[\r][\n]
> [\r][\n]

New description:

 I am using webdav with popular HTTP servers lighttpd and nginx. Latest
 version of Cyberduck breaks uploading, giving 417 HTTP error.

 In fact lighttpd really does not support "Expect:" field. The problem is
 that there are no fallback (to HTTP/1.0). Switching to HTTP/1.0 after
 receiving 417 error would be the best solution.


 {{{
 I/O Error: Upload failed
 /file.html
 null (417)

 }}}


 {{{
 PUT /file.html HTTP/1.1[\r][\n]
 Content-Type: text/html[\r][\n]
 User-Agent: Cyberduck/3.1.1 (4457)[\r][\n]
 Host: anonymous.host:8080[\r][\n]
 Expect: 100-continue[\r][\n]
 Content-Length: 889[\r][\n]
 [\r][\n]
 HTTP/1.1 417 Expectation Failed[\r][\n]
 HTTP/1.1 417 Expectation Failed[\r][\n]
 Connection: close[\r][\n]
 Content-Length: 0[\r][\n]
 Date: Wed, 14 Jan 2009 00:04:13 GMT[\r][\n]
 Server: lighttpd/1.4.20[\r][\n]
 [\r][\n]
 }}}

--

Comment:

 See [http://redmine.lighttpd.net/issues/show/1017]. Apparently this is
 fixed in the 1.5 branch of lighthttpd.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/2896#comment:1>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV and Amazon S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list