2011/8/30 Isaac Li <tingjun...@gmail.com>:
> On Tue, Aug 30, 2011 at 10:00 AM, Isaac Li <tingjun...@gmail.com> wrote:
>>
>> Thank André and Mark for your quick response, detailed answer and
>> references!
>> I'll try to report this issue to Cyberduck.
>> One more question: when I uses current version of Cyberduck to connect
>> Amazon S3,
>
> See request at No.25 of  "Cyberduck_login_amazon_s3_ok.pcap" (attched)

Attachments are usually dropped by mailing list software. The one you
mention above is no exception.

> GET / HTTP/1.1
> Date: Tue, 30 Aug 2011 02:28:50 GMT
> Content-Type:
> Authorization: AWS AKIAJHSWPWM6W6KUXAIQ:u4QnOMbP0vuTsgpUXQ0WfXIWz9c=
> Host: s3.amazonaws.com:80
> Connection: Keep-Alive
> User-Agent: Cyberduck/4.1 (8911) (Windows 7/6.1) (x86)
> Accept-Encoding: gzip,deflate

1) GET requests cannot have content, and thus having a Content-Type
header there is confusing.

2) Content-Type header is defined in section 14.17 of RFC2616 as

Content-Type   = "Content-Type" ":" media-type

and

media-type     = type "/" subtype *( ";" parameter )

The media-type is not optional and it cannot be empty.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to