Skip to content

Problem parsing HTTP headers #180

@asieira

Description

@asieira

I'm using httr 0.6.0 and RCurl 1.95-4.5 and it is mishandling the contents of the last-modified and date headers as this simple test can demonstrate:

> str(HEAD("http://s3.amazonaws.com/alexa-static/top-1m.csv.zip")$header)
List of 9
 $ x-amz-id-2                           : chr "GkWR2aH+lx0jARitIcfDMBRMXKEjBxvUqslK6WSPPNsB+XdC3rYKtO7ENJTaRqWbNn4gHFgcI0s="
 $ x-amz-request-id                     : chr "BFE21FB42A076BDB"
 $ date: wed, 17 dec 2014 18:39         : chr "59 GMT"
 $ last-modified: mon, 15 dec 2014 23:01: chr "07 GMT"
 $ etag                                 : chr "\"8bef9f727c803d2b09e80b44638cfe71\""
 $ accept-ranges                        : chr "bytes"
 $ content-type                         : chr "application/zip"
 $ content-length                       : chr "10126559"
 $ server                               : chr "AmazonS3"
 - attr(*, "class")= chr [1:2] "insensitive" "list"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions