Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem parsing HTTP headers #180

Closed
asieira opened this issue Dec 17, 2014 · 0 comments
Closed

Problem parsing HTTP headers #180

asieira opened this issue Dec 17, 2014 · 0 comments

Comments

@asieira
Copy link
Contributor

@asieira asieira commented Dec 17, 2014

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant